XPlat.ApplicationModel
XPlat.Core
XPlat.Device.Display
XPlat.Device.Geolocation
XPlat.Device.Launcher
XPlat.Device.Power
XPlat.Device.Profile
XPlat.Foundation
XPlat.Media.Capture
XPlat.Storage
XPlat.Storage.Pickers
XPlat.UI.Core

GeolocationAccessStatus

Namespace: XPlat.Device.Geolocation

Indicates if your app has permission to access location data.

public enum GeolocationAccessStatus

Supported platforms

Platform

Version

.NET Standard

1.4

Xamarin.Android

8.1

Xamarin.iOS

1.0

UWP

10.0

Fields

Enum Value

Int Value

Description

Unspecified

0

Permission to access location was not specified.

Allowed

1

Permission to access location was granted.

Denied

2

Permission to access location was denied.