PermissionState enum
Information about app’s authorization to access the user’s photo library.
- Android: Only authorized and denied are valid.
- iOS/macOS: All valid.
See also:
- Inheritance
- Available extensions
Values
- notDetermined → const PermissionState
-
The user has not set the app’s authorization status.
- restricted → const PermissionState
-
The app isn’t authorized to access the photo library, and the user can’t grant such permission.
- denied → const PermissionState
-
The user explicitly denied this app access to the photo library.
-
The user explicitly granted this app access to the photo library.
- limited → const PermissionState
-
The user authorized this app for limited photo library access.
This state only supports iOS 14 and above.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
PermissionState> - A constant List of the values in this enum, in order of their declaration.