PermissionViewState enum

Inheritance

Constructors

PermissionViewState()
const

Values

Init → const PermissionViewState
Granted → const PermissionViewState

The user granted access to the requested feature.

Denied → const PermissionViewState

The user denied access to the requested feature.

Restricted → const PermissionViewState

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. Only supported on iOS.

Limited → const PermissionViewState

User has authorized this application for limited access. Only supported on iOS (iOS14+).

PermanentlyDenied → const PermissionViewState

The user denied access to the requested feature and selected to never again show a request for this permission. The user may still change the permission status in the settings. Only supported on Android.

Error → const PermissionViewState

Mandatory but denied or permanently denied.

Disabled → const PermissionViewState
grantedAndExit → const PermissionViewState

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
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<PermissionViewState>
A constant List of the values in this enum, in order of their declaration.