Share via


LocationManager.ModeChangedAction Field

Definition

Broadcast intent action when the device location enabled state changes.

[Android.Runtime.Register("MODE_CHANGED_ACTION")]
public const string ModeChangedAction;
[<Android.Runtime.Register("MODE_CHANGED_ACTION")>]
val mutable ModeChangedAction : string

Field Value

Attributes

Remarks

Broadcast intent action when the device location enabled state changes. From Android R and above, will include a boolean intent extra, #EXTRA_LOCATION_ENABLED, with the enabled state of location.

Java documentation for android.location.LocationManager.MODE_CHANGED_ACTION.

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