public class DFPInterstitialEventHandler
extends com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEvent
implements 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() |
void |
onAppEvent(java.lang.String key,
java.lang.String bidId) |
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() |
getRendererpublic DFPInterstitialEventHandler(@NonNull
android.content.Context context,
@NonNull
java.lang.String adUnitId)
context - Activity / Application 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 class com.pubmatic.sdk.openwrap.core.POBBaseEventpublic void destroy()
destroy 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.POBInterstitialEventpublic void show()
show in class com.pubmatic.sdk.openwrap.interstitial.POBInterstitialEventpublic void onAppEvent(java.lang.String key,
java.lang.String bidId)
onAppEvent in interface com.google.android.gms.ads.doubleclick.AppEventListener