Share via


WebView.SetWebChromeClient(WebChromeClient) Method

Definition

Sets the chrome handler.

[Android.Runtime.Register("setWebChromeClient", "(Landroid/webkit/WebChromeClient;)V", "GetSetWebChromeClient_Landroid_webkit_WebChromeClient_Handler")]
public virtual void SetWebChromeClient (Android.Webkit.WebChromeClient? client);
[<Android.Runtime.Register("setWebChromeClient", "(Landroid/webkit/WebChromeClient;)V", "GetSetWebChromeClient_Landroid_webkit_WebChromeClient_Handler")>]
abstract member SetWebChromeClient : Android.Webkit.WebChromeClient -> unit
override this.SetWebChromeClient : Android.Webkit.WebChromeClient -> unit

Parameters

client
WebChromeClient

an implementation of WebChromeClient

Attributes

Remarks

Sets the chrome handler. This is an implementation of WebChromeClient for use in handling JavaScript dialogs, favicons, titles, and the progress. This will replace the current handler.

Java documentation for android.webkit.WebView.setWebChromeClient(android.webkit.WebChromeClient).

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