AdTrackingAuthorization

App Tracking Transparency authorisation state (iOS 14.5+).

Android has no equivalent and always reports NotApplicable; advertising-id access there is governed by the AD_ID permission, declared in the manifest.

Entries

Link copied to clipboard

Not an iOS 14.5+ device, or Android.

Link copied to clipboard

The user has not been asked yet. Requesting ads now permanently forfeits the IDFA.

Link copied to clipboard

Restricted by device policy; cannot be changed by prompting.

Link copied to clipboard

The user declined. Ads serve non-personalised.

Link copied to clipboard

The user allowed tracking. The IDFA is available.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.