PermissionState enum
Information about app’s authorization to access the user’s photo library.
Possible values for platforms:
- Android: authorized, denied, and limited.
- iOS/macOS: All.
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.
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.