Beispiel #1
0
 public static void Cache(InterstitialType interstitialType)
 {
     PlayAdsSDK.EnsureInstance();
     if (!PlayAdsSDK.ready)
     {
         PlayAdsSDK.Start(ACTION_CACHE, interstitialType);
         return;
     }
     PlayAdsSDK.PlayAdsSDKCache(PlayAdsSDK.GetTypeString(interstitialType));
 }
Beispiel #2
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));
    }