Sdílet prostřednictvím


GeolocationPermissions.Clear(String) Method

Definition

Clears the Geolocation permission state for the specified origin.

[Android.Runtime.Register("clear", "(Ljava/lang/String;)V", "GetClear_Ljava_lang_String_Handler")]
public virtual void Clear (string? origin);
[<Android.Runtime.Register("clear", "(Ljava/lang/String;)V", "GetClear_Ljava_lang_String_Handler")>]
abstract member Clear : string -> unit
override this.Clear : string -> unit

Parameters

origin
String

the origin for which Geolocation permissions are cleared

Attributes

Remarks

Clears the Geolocation permission state for the specified origin.

Java documentation for android.webkit.GeolocationPermissions.clear(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