0 out of 1 rated this helpful - Rate this topic

PositionStatus enumeration

Applies to Windows and Windows Phone

Indicates the ability of the Geolocator object to provide location data.


var value = Windows.Devices.Geolocation.PositionStatus.ready;




The PositionStatus enumeration has these members.

Ready | ready0

Location data is available.

Initializing | initializing1

The location provider is initializing. This is the status if a GPS is the source of location data and the GPS receiver does not yet have the required number of satellites in view to obtain an accurate position.

NoData | noData2

No location data is available from any location provider.

LocationStatus will have this value if the application calls GetGeopositionAsync or registers an event handler for the PositionChanged event, before data is available from a location sensor. Once data is available LocationStatus transitions to the Ready state.

Disabled | disabled3

The location provider is disabled. This status indicates that the user has not granted the application permission to access location.

NotInitialized | notInitialized4

An operation to retrieve location has not yet been initialized. LocationStatus will have this value if the application has not yet called GetGeopositionAsync or registered an event handler for the PositionChanged event.

NotAvailable | notAvailable5

The Windows Sensor and Location Platform is not available on this version of Windows.


Minimum supported client

Windows 8

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8


Windows::Devices::Geolocation [C++]




ID_CAP_LOCATION [Windows Phone]



Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.