AttStatus enum

iOS App Tracking Transparency authorization status, mirrored above the seam. Only iOS 14+ ever reports the first four; every other platform (and older iOS) reports notSupported.

Inheritance
Available extensions

Values

notDetermined → const AttStatus

The user has not yet been shown the system tracking prompt — the only state in which requesting authorization shows the dialog.

restricted → const AttStatus

Tracking is restricted at the device level; the prompt cannot be shown.

denied → const AttStatus

The user denied tracking authorization.

authorized → const AttStatus

The user authorized tracking.

notSupported → const AttStatus

Not iOS (or below iOS 14) — ATT does not apply.

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<AttStatus>
A constant List of the values in this enum, in order of their declaration.