This interface applies for applications involved in attribution services on iOS devices.
The SolarEngine SDK encapsulates the iOS requestTrackingAuthorizationWithCompletionHandler
method. By using the ATT authorization interface, the SDK can immediately know the user's authorization status. It can prioritize reporting Install events with IDFA and optimize attribution efficiency.
The "completion" callback value status
corresponds to the iOS system's ATTrackingManagerAuthorizationStatus
:
0: Not Determined
1: Restricted
2: Denied
3: Authorized
999: System error
Sample Code
public static void requestTrackingAuthorizationWithCompletionHandler(SESDKATTCompletedCallback callback)
Result Example
//Call example
SolarEngine.Analytics.requestTrackingAuthorizationWithCompletionHandler(myATTCallback);
//Receive callback
private void myATTCallback(int code)
{
Debug.Log("SEUunity: myATTCallback : " + code);
}