onLoadHttpError method

  1. @SupportedPlatforms.new(platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()])
  2. @Deprecated("Use onReceivedHttpError instead")
void onLoadHttpError(
  1. Uri? url,
  2. int statusCode,
  3. String description
)

Use onReceivedHttpError instead.

Officially Supported Platforms/Implementations:

  • Android WebView
  • iOS WKWebView
  • macOS WKWebView

Parameters - Officially Supported Platforms/Implementations:

  • url: all platforms
  • statusCode: all platforms
  • description: all platforms

Use the PlatformInAppBrowserEvents.isMethodSupported method to check if this method is supported at runtime.

Implementation

@SupportedPlatforms(
  platforms: [AndroidPlatform(), IOSPlatform(), MacOSPlatform()],
)
@Deprecated("Use onReceivedHttpError instead")
void onLoadHttpError(Uri? url, int statusCode, String description) {}