PermissionCheckShortcuts extension
Shortcuts for checking the status of a Permission.
- on
Properties
-
isDenied
→ Future<
bool> -
Available on Permission, provided by the PermissionCheckShortcuts extension
If the user denied this permission.no setter -
isGranted
→ Future<
bool> -
Available on Permission, provided by the PermissionCheckShortcuts extension
If the user granted this permission.no setter -
isLimited
→ Future<
bool> -
Available on Permission, provided by the PermissionCheckShortcuts extension
User has authorized this application for limited photo library access. Only supported on iOS.(iOS14+)no setter -
isPermanentlyDenied
→ Future<
bool> -
Available on Permission, provided by the PermissionCheckShortcuts extension
Returnstrue
when permissions are denied permanently.no setter -
isProvisional
→ Future<
bool> -
Available on Permission, provided by the PermissionCheckShortcuts extension
If the application is provisionally authorized to post noninterruptive user notifications. Only supported on iOS.no setter -
isRestricted
→ Future<
bool> -
Available on Permission, provided by the PermissionCheckShortcuts extension
If the OS denied this permission. The user cannot change the status, possibly due to active restrictions such as parental controls being in place. Only supported on iOS.no setter