Class ISN_ATTrackingManager
A class that provides a tracking authorization request and the tracking authorization status of the app. https://developer.apple.com/documentation/apptrackingtransparency/attrackingmanager
Inheritance
System.Object
ISN_ATTrackingManager
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SA.iOS.AppTrackingTransparency
Assembly: cs.temp.dll.dll
Syntax
public class ISN_ATTrackingManager
Properties
TrackingAuthorizationStatus
The authorization status that is current for the calling application.
Declaration
public static ISN_ATTrackingManager.AuthorizationStatus TrackingAuthorizationStatus { get; }
Property Value
Type | Description |
---|---|
ISN_ATTrackingManager.AuthorizationStatus |
Methods
RequestTrackingAuthorization(Action<ISN_ATTrackingManager.AuthorizationStatus>)
The RequestTrackingAuthorization
is the 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.
Declaration
public static void RequestTrackingAuthorization(Action<ISN_ATTrackingManager.AuthorizationStatus> completionHandler)
Parameters
Type | Name | Description |
---|---|---|
Action<ISN_ATTrackingManager.AuthorizationStatus> | completionHandler | Operation result callback. |