TrackingAuthorizationStatus enum Null safety

Inheritance

Constructors

TrackingAuthorizationStatus()
const

Values

notDetermined → const TrackingAuthorizationStatus

The value returned if a user has not yet received a request to authorize access to app-related data that can be used for tracking the user or the device.

Learn more

const TrackingAuthorizationStatus(0)
restricted → const TrackingAuthorizationStatus

The value returned if authorization to access app-related data that can be used for tracking the user or the device is restricted.

Learn more

const TrackingAuthorizationStatus(1)
denied → const TrackingAuthorizationStatus

The value returned if the user denies authorization to access app-related data that can be used for tracking the user or the device.

Denied

const TrackingAuthorizationStatus(2)
authorized → const TrackingAuthorizationStatus

The value returned if the user authorizes access to app-related data that can be used for tracking the user or the device.

Authorized

const TrackingAuthorizationStatus(3)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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<TrackingAuthorizationStatus>
A constant List of the values in this enum, in order of their declaration.
[notDetermined, restricted, denied, authorized]