Beispiel #1
0
        public override bool isReadyInterstitial()
        {
            statusInterstitial = Appodeal.isLoaded(Appodeal.INTERSTITIAL) ? StatusInterstitial.Loaded : StatusInterstitial.FailedToLoad;

            if (statusInterstitial != StatusInterstitial.Loaded)
            {
                Appodeal.cache(Appodeal.INTERSTITIAL);
            }

            LogDebug("Ads - Appodeal - Interstitial isReady - " + (statusInterstitial == StatusInterstitial.Loaded ? "YES" : "NO"));

            Analytic.EventProperties("Ads", "Appodeal Interstitial", statusInterstitial == StatusInterstitial.Loaded ? "YES" : "NO");

            return(statusInterstitial == StatusInterstitial.Loaded);
        }
Beispiel #2
0
 // Вызывается при закрытии полноэкранной рекламы
 public void onInterstitialClosed()
 {
     LogDebug("Ads - Appodeal - Interstitial closed");
     statusInterstitial = statusInterstitial == StatusInterstitial.Clicked ? StatusInterstitial.ClosedAfterClicked : StatusInterstitial.Closed;
 }
Beispiel #3
0
 // Вызывается при клике на полноэкранную рекламу
 public void onInterstitialClicked()
 {
     LogDebug("Ads - Appodeal - Interstitial clicked");
     statusInterstitial = StatusInterstitial.Clicked;
 }
Beispiel #4
0
 // Вызывается после показа полноэкранной рекламы
 public void onInterstitialShown()
 {
     LogDebug("Ads - Appodeal - Interstitial shown");
     statusInterstitial = StatusInterstitial.Shown;
 }