iOSLocation.AuthorizationStates

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Enumeration
iOSLocation.AuthorizationStates

These are the available authorization states for an app. The AuthorizationState property contains the type of location the user has authorized.

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.
AuthorizedWhenInUse 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.