Interface IAppTrackingManager
App Tracking Transparency API.
Namespace: EasyMobile
Assembly: cs.temp.dll.dll
Syntax
public interface IAppTrackingManager
Properties
TrackingAuthorizationStatus
The status values for app tracking authorization. Note that on iOS older than 14, the returned status is always
ATTrackingManagerAuthorizationStatusAuthorized
because IDFA access is always available on those systems as if authorized by the user.
On Android and non-supported platforms it will return ATTrackingManagerAuthorizationStatusNotDetermined
.
Declaration
AppTrackingAuthorizationStatus TrackingAuthorizationStatus { get; }
Property Value
Type | Description |
---|---|
AppTrackingAuthorizationStatus |
Methods
RequestTrackingAuthorization(Action<AppTrackingAuthorizationStatus>)
The request for user authorization to access app-related data. Note that on iOS older than 14, no popup will be shown and the callback will be invoked immediately with the status
ATTrackingManagerAuthorizationStatusAuthorized
because IDFA access is always available on those systems as if authorized by the user.
On Android and non-supported platforms, no popup will be shown and the callback will be invoked immediately
with the status ATTrackingManagerAuthorizationStatusNotDetermined
.
Declaration
void RequestTrackingAuthorization(Action<AppTrackingAuthorizationStatus> callback)
Parameters
Type | Name | Description |
---|---|---|
System.Action<AppTrackingAuthorizationStatus> | callback |
Remarks
The ATT popup is a one-time request to authorize or deny access to app-related data that can be used for tracking the user or the device. The system remembers the user’s choice and doesn’t prompt again unless a user uninstalls and then reinstalls the app on the device.