PermissionStatus
A normalized system permission status.
type PermissionStatus =
'granted' |
'denied' |
'notDetermined' |
'restricted' |
'unsupported';
Types
'granted'
The application currently has access to the requested permission.
'denied'
Access was denied by the user or the operating system.
'notDetermined'
The user has not made a choice yet; requesting may show a system prompt.
'restricted'
Access is blocked by system policy and cannot be requested by the app.
'unsupported'
The platform, permission, or app configuration does not support this API.