Package org.prebid.mobile.eventhandlers
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 Summary
Modifier and TypeMethodDescriptionboolean
isLoaded()
void
loadAd
(Bid bid) void
void
onAdFailedToShowFullScreenContent
(AdError adError) void
void
onAppEvent
(String name, String info) void
show()
-
Method Details
-
onAppEvent
-
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)
-