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 a synchronoys interstitial (blocking the screen)
 /// </summary>
 public void PlayAds_Show()
 {
     PlayAdsSDK.Show();
 }
Beispiel #3
0
 /// <summary>
 /// Shows a synchronoys interstitial (blocking the screen)
 /// </summary>
 private void PlayAds_Show()
 {
     PlayAdsSDK.Show();
 }
Beispiel #4
0
 public static void Show()
 {
     PlayAdsSDK.Show(InterstitialType.Smart);
 }
Beispiel #5
0
 public static void Show()
 {
     PlayAdsSDK.Show(AdType.Smart);
 }