Android.Webkit.WebChromeClient.OnJsAlert Method
Tell the client to display a javascript alert dialog.

Syntax

[Android.Runtime.Register("onJsAlert", "(Landroid/webkit/WebView;Ljava/lang/String;Ljava/lang/String;Landroid/webkit/JsResult;)Z", "GetOnJsAlert_Landroid_webkit_WebView_Ljava_lang_String_Ljava_lang_String_Landroid_webkit_JsResult_Handler")]
public virtual bool OnJsAlert (WebView view, string url, string message, JsResult result)

Parameters

view
The WebView that initiated the callback.
url
The url of the page requesting the dialog.
message
Message to be displayed in the window.
result
A JsResult to confirm that the user hit enter.

Returns

Documentation for this section has not yet been entered.

Remarks

Tell the client to display a javascript alert dialog. If the client returns true, WebView will assume that the client will handle the dialog. If the client returns false, it will continue execution.

[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