Ejemplo n.º 1
0
 public static void Cache(InterstitialType interstitialType)
 {
     PlayAdsSDK.EnsureInstance();
     if (!PlayAdsSDK.ready)
     {
         PlayAdsSDK.Start(ACTION_CACHE, interstitialType);
         return;
     }
     PlayAdsSDK.PlayAdsSDKCache(PlayAdsSDK.GetTypeString(interstitialType));
 }
Ejemplo n.º 2
0
 public static void Show(InterstitialType interstitialType)
 {
     PlayAdsSDK.EnsureInstance();
     if (!PlayAdsSDK.ready)
     {
         PlayAdsSDK.Start(ACTION_SHOW, interstitialType);
         return;
     }
     PlayAdsSDK.PlayAdsSDKShow(PlayAdsSDK.GetTypeString(interstitialType));
 }
Ejemplo n.º 3
0
    public static void Cache(AdType adType)
    {
        PlayAdsSDK.EnsureInstance();
        PlayAdsSDK.currentType = adType;

        if (!PlayAdsSDK.SDKReady)
        {
            PlayAdsSDK.Start(ACTION_CACHE, adType);
            return;
        }

        PlayAdsSDK.PlayAdsSDKCache(PlayAdsSDK.GetTypeString(adType));
    }
Ejemplo n.º 4
0
    public static void Show(AdType adType)
    {
        PlayAdsSDK.EnsureInstance();
        PlayAdsSDK.currentType = adType;

        if (!PlayAdsSDK.SDKReady)
        {
            PlayAdsSDK.Start(ACTION_SHOW, adType);
            return;
        }

        PlayAdsSDK.comesFromBackground = false;
        PlayAdsSDK.PlayAdsSDKShow(PlayAdsSDK.GetTypeString(adType), PlayAdsSDK.showLoadingScreen);
    }