onReceivedHttpError method
Event fired when the PlatformInAppBrowser receives an HTTP error.
request
represents the originating request.
errorResponse
represents the information about the error occurred.
NOTE: available on Android 23+.
Officially Supported Platforms/Implementations:
- Android native WebView (Official API - WebViewClient.onReceivedHttpError)
- iOS (Official API - WKNavigationDelegate.webView)
- MacOS (Official API - WKNavigationDelegate.webView)
- Windows (Official API - ICoreWebView2.add_NavigationCompleted)
Implementation
void onReceivedHttpError(
WebResourceRequest request, WebResourceResponse errorResponse) {}