Esempio n. 1
0
    private void SDKStartedCallback(string message)
    {
        PlayAdsSDK.ready        = true;
        PlayAdsSDK.initializing = false;

        if (!string.IsNullOrEmpty(PlayAdsSDK.waitingAction))
        {
            if (ACTION_CACHE.Equals(PlayAdsSDK.waitingAction))
            {
                PlayAdsSDK.Cache(PlayAdsSDK.waitingType);
            }
            else if (ACTION_SHOW.Equals(PlayAdsSDK.waitingAction))
            {
                PlayAdsSDK.Show(PlayAdsSDK.waitingType);
            }
            PlayAdsSDK.waitingAction = null;
        }
    }
Esempio n. 2
0
 /// <summary>
 /// Shows an asynchronoys interstitial (blocking the screen only when the interstitial is fully loaded)
 /// </summary>
 public void PlayAds_Cache()
 {
     PlayAdsSDK.Cache();
 }
Esempio n. 3
0
 /// <summary>
 /// Shows an asynchronoys interstitial (blocking the screen only when the interstitial is fully loaded)
 /// </summary>
 private void PlayAds_Cache()
 {
     PlayAdsSDK.Cache();
 }
Esempio n. 4
0
 public static void Cache()
 {
     PlayAdsSDK.Cache(InterstitialType.Smart);
 }
Esempio n. 5
0
 public static void Cache()
 {
     PlayAdsSDK.Cache(AdType.Smart);
 }