Partager via


LocationManager.KeyLocationChanged Field

Definition

Key used for an extra holding a Location value when a location change is sent using a PendingIntent.

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

Field Value

Attributes

Remarks

Key used for an extra holding a Location value when a location change is sent using a PendingIntent. If the location change includes a list of batched locations via #KEY_LOCATIONS then this key will still be present, and will hold the last location in the batch. Use Intent#getParcelableExtra(String) to retrieve the location.

Java documentation for android.location.LocationManager.KEY_LOCATION_CHANGED.

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