LocationManager.IsLocationEnabled Property

Definition

Returns the current enabled/disabled state of ___location.

public virtual bool IsLocationEnabled { [Android.Runtime.Register("isLocationEnabled", "()Z", "GetIsLocationEnabledHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("isLocationEnabled", "()Z", "GetIsLocationEnabledHandler", ApiSince=28)>]
member this.IsLocationEnabled : bool

Property Value

true if ___location is enabled and false if ___location is disabled.

Attributes

Remarks

Returns the current enabled/disabled state of ___location. To listen for changes, see #MODE_CHANGED_ACTION.

Java documentation for android.___location.LocationManager.isLocationEnabled().

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