Android.Webkit.WebViewClient.OnReceivedSslError Method
Notify the host application that an SSL error occurred while loading a resource.

Syntax

[Android.Runtime.Register("onReceivedSslError", "(Landroid/webkit/WebView;Landroid/webkit/SslErrorHandler;Landroid/net/http/SslError;)V", "GetOnReceivedSslError_Landroid_webkit_WebView_Landroid_webkit_SslErrorHandler_Landroid_net_http_SslError_Handler")]
public virtual void OnReceivedSslError (WebView view, SslErrorHandler handler, Android.Net.Http.SslError error)

Parameters

view
The WebView that is initiating the callback.
handler
An SslErrorHandler object that will handle the user's response.
error
The SSL error object.

Remarks

Notify the host application that an SSL error occurred while loading a resource. The host application must call either handler.cancel() or handler.proceed(). Note that the decision may be retained for use in response to future SSL errors. The default behavior is to cancel the load.

[Android Documentation]

Requirements

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