AuthorizationStatus¶
iOS/Android location authorization status.
| Name | Value | Platform |
|---|---|---|
| NotDetermined | 0 | iOS only |
| Restricted | 1 | iOS only |
| Denied | 2 | iOS & Android |
| Always | 3 | iOS & Android |
| WhenInUse | 4 | iOS & Android 10+ |
Members¶
Always¶
Location permissions authorized for always use.
Denied¶
Location permissions denied by the user.
NotDetermined¶
User has not yet made a choice regarding location permissions.
Restricted¶
Location permissions are restricted (e.g., parental controls).
WhenInUse¶
Location permissions authorized for when-in-use (Android 10+).