Class PublisherInterstitialAdWrapper

java.lang.Object
FullScreenContentCallback
org.prebid.mobile.eventhandlers.PublisherInterstitialAdWrapper

public class PublisherInterstitialAdWrapper extends FullScreenContentCallback
Internal wrapper of PublisherInterstitialAd from GAM SDK. To achieve safe integration between various GAM SDK versions we have to wrap all PublisherAdView method execution in try / catch. This class instance should be created via newInstance method, which will catch any potential exception on PublisherInterstitialAd / PublisherInterstitialAdWrapper instance creation
  • Method Details

    • onAppEvent

      public void onAppEvent(String name, String info)
    • onAdFailedToShowFullScreenContent

      public void onAdFailedToShowFullScreenContent(AdError adError)
    • onAdShowedFullScreenContent

      public void onAdShowedFullScreenContent()
    • onAdDismissedFullScreenContent

      public void onAdDismissedFullScreenContent()
    • isLoaded

      public boolean isLoaded()
    • show

      public void show()
    • loadAd

      public void loadAd(Bid bid)