public static void SetVerboseLogDisabled()
 {
     if (bInit)
     {
         TalkingDataGA.SetVerboseLogDisabled();
     }
 }
 public static void OnDestroy()
 {
     if (bInit)
     {
         TalkingDataGA.OnEnd();
     }
 }
 public static void OnEvent(string actionId, Dictionary <string, object> parameters)
 {
     if (bInit)
     {
         TalkingDataGA.OnEvent(actionId, parameters);
     }
 }
 public static void OnKill()
 {
     if (bInit)
     {
         TalkingDataGA.OnKill();
     }
     bInit = false;
 }
        public static void OnStart()
        {
            string appID     = msAppID4TDGA;
            string channelID = "" + SDKEntryMgr.GetChannel();

            TalkingDataGA.OnStart(appID, channelID);
            bInit = true;
        }
        public static void HandleTDGAPushMessage()
        {
#if UNITY_IPHONE
            if (bInit)
            {
                TalkingDataGA.HandleTDGAPushMessage();
            }
#endif
        }
        public static void SetDeviceToken()
        {
#if UNITY_IPHONE
            if (bInit)
            {
                TalkingDataGA.SetDeviceToken();
            }
#endif
        }
        public static void DetachCurrentThread()
        {
#if UNITY_ANDROID
            if (bInit)
            {
                TalkingDataGA.DetachCurrentThread();
            }
#endif
        }
        public static void OnUpdate()
        {
#if UNITY_IPHONE
            if (bInit)
            {
                TalkingDataGA.SetDeviceToken();
                TalkingDataGA.HandleTDGAPushMessage();
            }
#endif
        }
        public static string GetDeviceId()
        {
            string id = "";

            if (bInit)
            {
                id = TalkingDataGA.GetDeviceId();
            }
            return(id);
        }