LocationManager.KeyLocations Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Key used for an extra holding a array of Location
s when a location change is sent
using a PendingIntent.
[Android.Runtime.Register("KEY_LOCATIONS", ApiSince=31)]
public const string KeyLocations;
[<Android.Runtime.Register("KEY_LOCATIONS", ApiSince=31)>]
val mutable KeyLocations : string
Field Value
- Attributes
Remarks
Key used for an extra holding a array of Location
s when a location change is sent using a PendingIntent. This key will only be present if the location change includes multiple (ie, batched) locations, otherwise only #KEY_LOCATION_CHANGED
will be present. Use Intent#getParcelableArrayExtra(String)
to retrieve the locations.
The array of locations will never be empty, and will ordered from earliest location to latest location, the same as with LocationListener#onLocationChanged(List)
.
Java documentation for android.location.LocationManager.KEY_LOCATIONS
.
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.