WebChromeClient.OnGeolocationPermissionsShowPrompt 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.
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.
[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, Android.Webkit.GeolocationPermissions.ICallback? callback);
[<Android.Runtime.Register("onGeolocationPermissionsShowPrompt", "(Ljava/lang/String;Landroid/webkit/GeolocationPermissions$Callback;)V", "GetOnGeolocationPermissionsShowPrompt_Ljava_lang_String_Landroid_webkit_GeolocationPermissions_Callback_Handler")>]
abstract member OnGeolocationPermissionsShowPrompt : string * Android.Webkit.GeolocationPermissions.ICallback -> unit
override this.OnGeolocationPermissionsShowPrompt : string * Android.Webkit.GeolocationPermissions.ICallback -> unit
Parameters
- origin
- String
The origin of the web content attempting to use the Geolocation API.
- callback
- GeolocationPermissions.ICallback
The callback to use to set the permission state for the origin.
- Attributes
Remarks
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.