PermissionDialogKind enum
Which moment of the flow a dialog is for.
Values
- rationale → const PermissionDialogKind
-
Before the system prompt: why the app is about to ask. Primary = continue to the prompt; secondary = not now.
- denied → const PermissionDialogKind
-
After a denial the OS will still re-prompt for. Primary = ask again (or open Settings once retries are used up); secondary = not now.
- permanentlyDenied → const PermissionDialogKind
-
After a permanent denial: how to turn it on in Settings. Primary = open Settings; secondary = not now.
- restricted → const PermissionDialogKind
-
The device blocks the permission. Informational; primary = OK.
- serviceDisabled → const PermissionDialogKind
-
The permission is fine but location services / Bluetooth are off. Primary = open the relevant settings; secondary = not now.
Properties
- 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 - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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<
PermissionDialogKind> - A constant List of the values in this enum, in order of their declaration.