Android.Webkit.WebViewClient.OnReceivedError Method
Report an error to the host application.

Syntax

[Android.Runtime.Register("onReceivedError", "(Landroid/webkit/WebView;ILjava/lang/String;Ljava/lang/String;)V", "GetOnReceivedError_Landroid_webkit_WebView_ILjava_lang_String_Ljava_lang_String_Handler")]
public virtual void OnReceivedError (WebView view, [Android.Runtime.GeneratedEnum] ClientError errorCode, string description, string failingUrl)

Parameters

view
The WebView that is initiating the callback.
errorCode
The error code corresponding to an ERROR_* value.
description
A String describing the error.
failingUrl
The url that failed to load.

Remarks

Report an error to the host application. These errors are unrecoverable (i.e. the main resource is unavailable). The errorCode parameter corresponds to one of the ERROR_* constants.

[Android Documentation]

Requirements

Namespace: Android.Webkit
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1