GeoPositionPermission Enumeration

July 28, 2014

Defines the level of access an application has to the location service. Used by the Permission property.

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

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

Member nameDescription
UnknownAccess to the location service is unknown.
GrantedAccess to the location service is granted.
DeniedAccess to the location service is denied.

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:
© 2014 Microsoft