Android.Webkit.WebChromeClient.OnCloseWindow Method
Notify the host application to close the given WebView and remove it from the view system if necessary.

Syntax

[Android.Runtime.Register("onCloseWindow", "(Landroid/webkit/WebView;)V", "GetOnCloseWindow_Landroid_webkit_WebView_Handler")]
public virtual void OnCloseWindow (WebView window)

Parameters

window
The WebView that needs to be closed.

Remarks

Notify the host application to close the given WebView and remove it from the view system if necessary. At this point, WebCore has stopped any loading in this window and has removed any cross-scripting ability in javascript.

[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