GeoPositionStatus Enumeration

GeoPositionStatus Enumeration

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Defines the status values for the location service. Used by the Status property.

Namespace:  System.Device.Location
Assembly:  System.Device (in System.Device.dll)

public enum GeoPositionStatus
<object property="enumerationValue" .../>

Member nameDescription
DisabledThe location service is disabled or unsupported.
ReadyThe location service is enabled and ready.
InitializingThe location service is attempting to acquire data.
NoDataThe location sensors are accessible but the service is unable to resolve location data.

Capabilities

If you use this API in your app, you must specify the following capabilities in the app manifest. Otherwise, your app might not work correctly or it might exit unexpectedly.

ID_CAP_NETWORKING

Windows Phone 8, Windows Phone OS 7.1

ID_CAP_LOCATION

Windows Phone 8

For more info, see App capabilities and hardware requirements for Windows Phone 8.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft