Android.Webkit.WebChromeClient.OnGeolocationPermissionsShowPrompt Method
Notify the host application that web content from the specified origin is attempting to use the Geolocation API, but no permission state is currently set for that origin.

Syntax

[Android.Runtime.Register("onGeolocationPermissionsShowPrompt", "(Ljava/lang/String;Landroid/webkit/GeolocationPermissions$Callback;)V", "GetOnGeolocationPermissionsShowPrompt_Ljava_lang_String_Landroid_webkit_GeolocationPermissions_Callback_Handler")]
public virtual void OnGeolocationPermissionsShowPrompt (string origin, GeolocationPermissions.ICallback callback)

Parameters

origin
The origin of the web content attempting to use the Geolocation API.
callback
The callback to use to set the permission state for the origin.

Remarks

Notify the host application that web content from the specified origin is attempting to use the Geolocation API, but no permission state is currently set for that origin. The host application should invoke the specified callback with the desired permission state. See Android.Webkit.GeolocationPermissions for details.

[Android Documentation]

Requirements

Namespace: Android.Webkit
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5