public class MoPubInterstitialEventHandler
extends com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEvent
implements com.mopub.mobileads.MoPubInterstitial.InterstitialAdListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
MoPubInterstitialEventHandler.MoPubConfigListener
Interface to get the MoPub Interstitial ad object, to configure the properties.
|
| Constructor and Description |
|---|
MoPubInterstitialEventHandler(android.app.Activity context,
java.lang.String adUnitId) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
com.pubmatic.sdk.common.ui.POBInterstitialRendering |
getRenderer(java.lang.String partnerName) |
void |
onInterstitialClicked(com.mopub.mobileads.MoPubInterstitial interstitial) |
void |
onInterstitialDismissed(com.mopub.mobileads.MoPubInterstitial interstitial) |
void |
onInterstitialFailed(com.mopub.mobileads.MoPubInterstitial interstitial,
com.mopub.mobileads.MoPubErrorCode errorCode) |
void |
onInterstitialLoaded(com.mopub.mobileads.MoPubInterstitial interstitial) |
void |
onInterstitialShown(com.mopub.mobileads.MoPubInterstitial interstitial) |
void |
requestAd(com.pubmatic.sdk.openwrap.core.POBBid bid) |
void |
setConfigListener(MoPubInterstitialEventHandler.MoPubConfigListener listener)
Sets the Data listener object.
|
void |
setEventListener(com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEventListener listener) |
void |
show() |
void |
trackClick() |
void |
trackImpression() |
public MoPubInterstitialEventHandler(@NonNull
android.app.Activity context,
@NonNull
java.lang.String adUnitId)
public void setConfigListener(MoPubInterstitialEventHandler.MoPubConfigListener listener)
listener - MoPub config listenerpublic void requestAd(@Nullable
com.pubmatic.sdk.openwrap.core.POBBid bid)
requestAd in class com.pubmatic.sdk.openwrap.core.POBBaseEventpublic void destroy()
destroy in class com.pubmatic.sdk.openwrap.core.POBBaseEventpublic void trackImpression()
trackImpression in class com.pubmatic.sdk.openwrap.core.POBBaseEventpublic void trackClick()
trackClick in class com.pubmatic.sdk.openwrap.core.POBBaseEventpublic void setEventListener(@NonNull
com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEventListener listener)
setEventListener in class com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEvent@Nullable public com.pubmatic.sdk.common.ui.POBInterstitialRendering getRenderer(java.lang.String partnerName)
getRenderer in class com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEventpublic void show()
show in class com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEventpublic void onInterstitialLoaded(com.mopub.mobileads.MoPubInterstitial interstitial)
onInterstitialLoaded in interface com.mopub.mobileads.MoPubInterstitial.InterstitialAdListenerpublic void onInterstitialFailed(com.mopub.mobileads.MoPubInterstitial interstitial,
com.mopub.mobileads.MoPubErrorCode errorCode)
onInterstitialFailed in interface com.mopub.mobileads.MoPubInterstitial.InterstitialAdListenerpublic void onInterstitialShown(com.mopub.mobileads.MoPubInterstitial interstitial)
onInterstitialShown in interface com.mopub.mobileads.MoPubInterstitial.InterstitialAdListenerpublic void onInterstitialClicked(com.mopub.mobileads.MoPubInterstitial interstitial)
onInterstitialClicked in interface com.mopub.mobileads.MoPubInterstitial.InterstitialAdListenerpublic void onInterstitialDismissed(com.mopub.mobileads.MoPubInterstitial interstitial)
onInterstitialDismissed in interface com.mopub.mobileads.MoPubInterstitial.InterstitialAdListener