Condividi tramite


WebView.SetWebViewClient(WebViewClient) Method

Definition

Sets the WebViewClient that will receive various notifications and requests.

[Android.Runtime.Register("setWebViewClient", "(Landroid/webkit/WebViewClient;)V", "GetSetWebViewClient_Landroid_webkit_WebViewClient_Handler")]
public virtual void SetWebViewClient (Android.Webkit.WebViewClient client);
[<Android.Runtime.Register("setWebViewClient", "(Landroid/webkit/WebViewClient;)V", "GetSetWebViewClient_Landroid_webkit_WebViewClient_Handler")>]
abstract member SetWebViewClient : Android.Webkit.WebViewClient -> unit
override this.SetWebViewClient : Android.Webkit.WebViewClient -> unit

Parameters

client
WebViewClient

an implementation of WebViewClient

Attributes

Remarks

Sets the WebViewClient that will receive various notifications and requests. This will replace the current handler.

Java documentation for android.webkit.WebView.setWebViewClient(android.webkit.WebViewClient).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to