MobileLocation.AuthorizationStates

From Xojo Documentation

Enumeration
MobileLocation.AuthorizationStates

The available states of authorization an app can have in terms of accessing the device's current location.

Values

Enum Description
NotDetermined The user has not yet made a choice regarding whether this app can use location services.
Restricted This app is not authorized to use location services. The user cannot change this app’s status, possibly due to active restrictions such as parental controls being in place.
Denied The user explicitly denied the use of location services for this app or location services are currently disabled in Settings.
AuthorizedAlways This app is authorized to start location services at any time. This authorization allows you to use all location services, including those for monitoring regions and significant location changes.
AuthorizedAppInUse This app is authorized to start most location services while running in the foreground. This authorization does not allow you to use APIs that could launch your app in response to an event, such as region monitoring and the significant location change services.

Notes

The AuthorizationState property contains the type of location the user has authorized.

See Also

AuthorizationState property.