WebView.SetWebChromeClient(WebChromeClient) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.