Пример #1
0
 public static string getAmazonAdId()
 {
     if (Adjust.IsEditor())
     {
         return(string.Empty);
     }
     return(AdjustAndroid.GetAmazonAdId());
 }
Пример #2
0
        public static string getAmazonAdId()
        {
            if (IsEditor())
            {
                return(string.Empty);
            }

            #if UNITY_IOS
            Debug.Log("Adjust: Amazon Advertising ID is not available on iOS platform.");
            return(string.Empty);
            #elif UNITY_ANDROID
            return(AdjustAndroid.GetAmazonAdId());
            #elif (UNITY_WSA || UNITY_WP8)
            Debug.Log("Adjust: Amazon Advertising ID not available on Windows platform.");
            return(string.Empty);
            #else
            Debug.Log(errorMsgPlatform);
            return(string.Empty);
            #endif
        }