PhotoLibraryPermissionStatus enum
- Inheritance
- Available extensions
Values
- limited → const PhotoLibraryPermissionStatus
- denied → const PhotoLibraryPermissionStatus
- restricted → const PhotoLibraryPermissionStatus
- notDetermined → const PhotoLibraryPermissionStatus
Properties
- canScan → bool
-
True when the current grant permits at least some library access —
either full (
authorized) or selected-assets (limited).no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - needsSettingsApp → bool
-
True when the user must change the grant in the system Settings app
(denied or restricted). Permission requests will not re-prompt.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userMessage → String
-
English hint string for debug UIs / logs. Equivalent to calling
localizedMessage with NsfwLocalizationsEn regardless of
NsfwLocalizations.current. Kept for source-level compatibility
with callers from v2.4.x and earlier.
no setter
Methods
-
localizedMessage(
[NsfwLocalizations? locale]) → String -
Localized hint string. Defaults to NsfwLocalizations.current, so
status.localizedMessage()honours the app-wide language override set at startup. Pass an explicitlocaleto ignore the global and pick a specific bundle inline. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toPermissionStatus(
) → PermissionStatus -
Available on PhotoLibraryPermissionStatus, provided by the PhotoLibraryPermissionStatusMapping extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
Constants
-
values
→ const List<
PhotoLibraryPermissionStatus> - A constant List of the values in this enum, in order of their declaration.