AdmostTrackingAuthorizationStatus enum

The status values for app tracking authorization.

After a device receives an authorization request to approve access to app-related data that can be used for tracking the user or the device, the returned value is either:

  • AppTrackingTransparency/ATTrackingManager/AuthorizationStatus/authorized, or
  • AppTrackingTransparency/ATTrackingManager/AuthorizationStatus/denied.

Before a device receives an authorization request to approve access to app-related data that can be used for tracking the user or the device, the returned value is: AppTrackingTransparency/ATTrackingManager/AuthorizationStatus/notDetermined.

If authorization to use app tracking data is restricted, the value is: AppTrackingTransparency/ATTrackingManager/AuthorizationStatus/restricted.

Inheritance
Available extensions

Values

notDetermined → const AdmostTrackingAuthorizationStatus

The value that returns when the app can’t determine the user’s authorization status for access to app-related data for tracking the user or the device.

  • Note: If you check the authorization status on a platform that doesn't support it, the result is always AuthorizationStatus.notDetermined.
restricted → const AdmostTrackingAuthorizationStatus

The value that returns if authorization to access app-related data for tracking the user or the device has a restricted status.

A restricted condition means the device does not prompt for tracking authorization when a request is made, nor is it displayed when the corresponding permission description is triggered. On restricted devices, the setting to allow apps to request tracking is disabled and cannot be changed.

denied → const AdmostTrackingAuthorizationStatus

The value that returns if the user denies authorization to access app-related data for tracking the user or the device.

The end user has denied the authorization request to access app-related data that can be used for tracking the user or the device.

authorized → const AdmostTrackingAuthorizationStatus

The value that returns if the user authorizes access to app-related data for tracking the user or the device.

This setting allows users to opt in or out of allowing apps to request user consent to access app-related data for tracking the user or the device. End users can revoke permission at any time through the device's privacy settings.

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