Bagikan melalui


GeolocationPermissions.GetOrigins(IValueCallback) Method

Definition

Gets the set of origins for which Geolocation permissions are stored.

[Android.Runtime.Register("getOrigins", "(Landroid/webkit/ValueCallback;)V", "GetGetOrigins_Landroid_webkit_ValueCallback_Handler")]
public virtual void GetOrigins (Android.Webkit.IValueCallback? callback);
[<Android.Runtime.Register("getOrigins", "(Landroid/webkit/ValueCallback;)V", "GetGetOrigins_Landroid_webkit_ValueCallback_Handler")>]
abstract member GetOrigins : Android.Webkit.IValueCallback -> unit
override this.GetOrigins : Android.Webkit.IValueCallback -> unit

Parameters

callback
IValueCallback

a ValueCallback to receive the result of this request. This object's ValueCallback#onReceiveValue(T) onReceiveValue() method will be invoked asynchronously with a set of Strings containing the origins for which Geolocation permissions are stored.

Attributes

Remarks

Gets the set of origins for which Geolocation permissions are stored.

Java documentation for android.webkit.GeolocationPermissions.getOrigins(android.webkit.ValueCallback<java.util.Set<java.lang.String>>).

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.

Applies to