コード例 #1
0
        public static string GetAdvertiserID()
        {
            string result = string.Empty;

            if (Application.platform == RuntimePlatform.Android)
            {
                result = SwrveManagerUtilsAndroid.GetGIDA();
            }
            else if (Application.platform == RuntimePlatform.IPhonePlayer)
            {
                result = SwrveManagerUtilsiOS.GetIDFA();
            }
            return(result);
        }
コード例 #2
0
        public static string GetIsLat()
        {
            string result = string.Empty;

            if (Application.platform == RuntimePlatform.Android)
            {
                result = SwrveManagerUtilsAndroid.GetIsLat().ToString();
            }
            else if (Application.platform == RuntimePlatform.IPhonePlayer)
            {
                result = SwrveManagerUtilsiOS.GetIsLat().ToString();
            }
            return(result);
        }