public class DFPInterstitialEventHandler
extends com.google.android.gms.ads.AdListener
implements com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEvent, com.google.android.gms.ads.doubleclick.AppEventListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
DFPInterstitialEventHandler.DFPConfigListener
Interface to get the DFP Interstitial ad and it's request builder, to configure the
properties.
|
| Constructor and Description |
|---|
DFPInterstitialEventHandler(android.content.Context context,
java.lang.String adUnitId)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
com.pubmatic.sdk.common.ui.POBInterstitialRendering |
getRenderer(java.lang.String partnerName) |
void |
onAdClosed() |
void |
onAdFailedToLoad(int errCode) |
void |
onAdLeftApplication() |
void |
onAdLoaded() |
void |
onAdOpened() |
void |
onAppEvent(java.lang.String key,
java.lang.String s1) |
void |
requestAd(com.pubmatic.sdk.openwrap.core.POBBid bid) |
void |
setConfigListener(DFPInterstitialEventHandler.DFPConfigListener listener)
Sets the Data listener object.
|
void |
setEventListener(com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEventListener listener) |
void |
show() |
void |
trackClick() |
void |
trackImpression() |
public DFPInterstitialEventHandler(android.content.Context context,
java.lang.String adUnitId)
context - Activity contextadUnitId - SDP ad unit IDpublic void setConfigListener(DFPInterstitialEventHandler.DFPConfigListener listener)
listener - DFP data listenerpublic void requestAd(@Nullable
com.pubmatic.sdk.openwrap.core.POBBid bid)
requestAd in interface com.pubmatic.sdk.openwrap.core.POBBaseEventpublic void setEventListener(@NonNull
com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEventListener listener)
setEventListener in interface com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEventpublic com.pubmatic.sdk.common.ui.POBInterstitialRendering getRenderer(java.lang.String partnerName)
getRenderer in interface com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEventpublic void destroy()
destroy in interface com.pubmatic.sdk.openwrap.core.POBBaseEventpublic void trackImpression()
trackImpression in interface com.pubmatic.sdk.openwrap.core.POBBaseEventpublic void trackClick()
trackClick in interface com.pubmatic.sdk.openwrap.core.POBBaseEventpublic void show()
show in interface com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEventpublic void onAppEvent(java.lang.String key,
java.lang.String s1)
onAppEvent in interface com.google.android.gms.ads.doubleclick.AppEventListenerpublic void onAdFailedToLoad(int errCode)
onAdFailedToLoad in class com.google.android.gms.ads.AdListenerpublic void onAdOpened()
onAdOpened in class com.google.android.gms.ads.AdListenerpublic void onAdClosed()
onAdClosed in class com.google.android.gms.ads.AdListenerpublic void onAdLoaded()
onAdLoaded in class com.google.android.gms.ads.AdListenerpublic void onAdLeftApplication()
onAdLeftApplication in class com.google.android.gms.ads.AdListener