Beispiel #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;
        }
    }
Beispiel #2
0
 /// <summary>
 /// Shows an asynchronoys interstitial (blocking the screen only when the interstitial is fully loaded)
 /// </summary>
 public void PlayAds_Cache()
 {
     PlayAdsSDK.Cache();
 }
Beispiel #3
0
 /// <summary>
 /// Shows an asynchronoys interstitial (blocking the screen only when the interstitial is fully loaded)
 /// </summary>
 private void PlayAds_Cache()
 {
     PlayAdsSDK.Cache();
 }
Beispiel #4
0
 public static void Cache()
 {
     PlayAdsSDK.Cache(InterstitialType.Smart);
 }
Beispiel #5
0
 public static void Cache()
 {
     PlayAdsSDK.Cache(AdType.Smart);
 }