java.lang.Object | |
↳ | com.neomades.location.AuthorizationStatus |
Authorization status for Location. Contains Key codes constants.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final AuthorizationStatus | Authorized | This app is authorized to use location services. | |||||||||
public static final AuthorizationStatus | AuthorizedAlways | This app is authorized to start location services at any time. | |||||||||
public static final AuthorizationStatus | AuthorizedWhenInUse | This app is authorized to start most location services while running in the foreground. | |||||||||
public static final AuthorizationStatus | Denied | The user explicitly denied the use of location services for this app or location services are currently disabled in Settings. | |||||||||
public static final AuthorizationStatus | NotDetermined | The user has not yet made a choice regarding whether this app can use location services. | |||||||||
public static final AuthorizationStatus | Restricted | This app is not authorized to use location services. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
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.
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.
The user explicitly denied the use of location services for this app or location services are currently disabled in Settings.
The user has not yet made a choice regarding whether this app can use location services.
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.