FuturePermissionStatusGetters extension
Utility getter extensions for the Future<PermissionStatus>
type.
Properties
-
isDenied
→ Future<
bool> -
Available on Future<
If the user denied access to the requested feature.PermissionStatus> , provided by the FuturePermissionStatusGetters extensionno setter -
isGranted
→ Future<
bool> -
Available on Future<
If the user granted access to the requested feature.PermissionStatus> , provided by the FuturePermissionStatusGetters extensionno setter -
isLimited
→ Future<
bool> -
Available on Future<
Indicates that permission for limited use of the resource is granted.PermissionStatus> , provided by the FuturePermissionStatusGetters extensionno setter -
isPermanentlyDenied
→ Future<
bool> -
Available on Future<
On Android: Android 11+ (API 30+): whether the user denied the permission for a second time. Below Android 11 (API 30): whether the user denied access to the requested feature and selected to never again show a request. The user may still change the permission status in the settings.PermissionStatus> , provided by the FuturePermissionStatusGetters extensionno setter -
isProvisional
→ Future<
bool> -
Available on Future<
If the application is provisionally authorized to post noninterruptive user notifications.PermissionStatus> , provided by the FuturePermissionStatusGetters extensionno setter -
isRestricted
→ Future<
bool> -
Available on Future<
If the OS denied access to the requested feature. The user cannot change this app's status, possibly due to active restrictions such as parental controls being in place.PermissionStatus> , provided by the FuturePermissionStatusGetters extensionno setter