GeolocationAccessStatus GeolocationAccessStatus GeolocationAccessStatus GeolocationAccessStatus GeolocationAccessStatus Enum

Definition

Indicates if your app has permission to access location data.

public : enum class GeolocationAccessStatus
enum class winrt::Windows::Devices::Geolocation::GeolocationAccessStatus : int32_t
public enum GeolocationAccessStatus
Public Enum GeolocationAccessStatus
var value = Windows.Devices.Geolocation.GeolocationAccessStatus.allowed;
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)
Capabilities
location

Fields

Allowed Allowed Allowed Allowed Allowed 1

Permission to access location was granted.

Denied Denied Denied Denied Denied 2

Permission to access location was denied.

Unspecified Unspecified Unspecified Unspecified Unspecified 0

Permission to access location was not specified.