Ejemplo n.º 1
0
        public static bool RegisterGCMDevice(string gameObject, string senderId, string appTitle, string iconId, string materialIconId, string largeIconId, int accentColor, string appGroupName)
        {
            bool result = false;

            if (Application.platform == RuntimePlatform.Android)
            {
                result = SwrveManagerUtilsAndroid.RegisterGCMDevice(gameObject, senderId, appTitle, iconId, materialIconId, largeIconId, accentColor, appGroupName);
            }
            return(result);
        }
Ejemplo n.º 2
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);
        }
Ejemplo n.º 3
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);
        }