Exemple #1
0
        public static TDAdError GetVideoFrequencyCapError(string tag = TAPDAQ_PLACEMENT_DEFAULT)
        {
            TDAdError error  = null;
            string    result = "";

            #if UNITY_IPHONE
            CallIosMethod(() => result = TD_GetVideoFrequencyCapError(tag));
            #elif UNITY_ANDROID
            result = GetAndroidStatic <string>("GetVideoFrequencyCapError", tag);
            #endif
            if (!String.IsNullOrEmpty(result))
            {
                error = JsonUtility.FromJson <TDAdError>(result);
            }

            return(error);
        }
 public void OnTapdaqConfigFailedToLoad(TDAdError error)
 {
     Invoke(TapdaqConfigFailedToLoad, error);
 }