WebSettings.SetGeolocationEnabled(Boolean) Method

Definition

Sets whether Geolocation is enabled.

[Android.Runtime.Register("setGeolocationEnabled", "(Z)V", "GetSetGeolocationEnabled_ZHandler")]
public abstract void SetGeolocationEnabled (bool flag);
[<Android.Runtime.Register("setGeolocationEnabled", "(Z)V", "GetSetGeolocationEnabled_ZHandler")>]
abstract member SetGeolocationEnabled : bool -> unit

Parameters

flag
Boolean

whether Geolocation should be enabled

Attributes

Remarks

Java documentation for android.webkit.WebSettings.setGeolocationEnabled(boolean).

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