Package org.prebid.mobile.eventhandlers
Class PublisherInterstitialAdWrapper
-
- All Implemented Interfaces:
public class PublisherInterstitialAdWrapperInternal 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 Summary
Modifier and Type Method Description voidonAppEvent(String name, String info)voidonAdFailedToShowFullScreenContent(AdError adError)voidonAdShowedFullScreenContent()voidonAdDismissedFullScreenContent()booleanisLoaded()voidshow()voidloadAd(Bid bid)-
-
Method Detail
-
onAppEvent
void onAppEvent(String name, String info)
-
onAdFailedToShowFullScreenContent
void onAdFailedToShowFullScreenContent(AdError adError)
-
onAdShowedFullScreenContent
void onAdShowedFullScreenContent()
-
onAdDismissedFullScreenContent
void onAdDismissedFullScreenContent()
-
isLoaded
boolean isLoaded()
-
show
void show()
-
loadAd
void loadAd(Bid bid)
-
-
-
-