public class POBDefaultInterstitialEventHandler extends java.lang.Object implements POBInterstitialEvent
| Constructor and Description |
|---|
POBDefaultInterstitialEventHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Method to do cleanup
|
com.pubmatic.sdk.openwrap.core.POBFullScreenAdInteractionListener |
getAdInteractionListener()
Returns the instance of the FullScreen Ad interaction listener.
|
com.pubmatic.sdk.common.ui.POBInterstitialRendering |
getRenderer(java.lang.String partnerName)
Optional method to provide implementation of POBInterstitialRendering interface to render ad
in custom rendering component.
|
void |
requestAd(com.pubmatic.sdk.openwrap.core.POBBid bid)
Provide onOpenWrapPartnerWin() callback since this is 'No Ad Server Configuration feature'
|
void |
setEventListener(POBInterstitialEventListener listener)
Method to set POBInterstitialEventListener to get request ad callback
|
void |
show()
OpenWrap SDK will call this method when publisher app calls show on POBInterstitial.
|
public void requestAd(@Nullable
com.pubmatic.sdk.openwrap.core.POBBid bid)
requestAd in interface com.pubmatic.sdk.openwrap.core.POBBaseEventbid - winning bid for the requested impressionpublic void destroy()
destroy in interface com.pubmatic.sdk.openwrap.core.POBBaseEventpublic void setEventListener(@NonNull
POBInterstitialEventListener listener)
setEventListener in interface POBInterstitialEventlistener - event listenerpublic com.pubmatic.sdk.common.ui.POBInterstitialRendering getRenderer(java.lang.String partnerName)
POBInterstitialEventgetRenderer in interface POBInterstitialEventpartnerName - Winning partner namepublic void show()
POBInterstitialEventNote: This method must be invoked from Main thread.
show in interface POBInterstitialEvent@Nullable public com.pubmatic.sdk.openwrap.core.POBFullScreenAdInteractionListener getAdInteractionListener()
POBInterstitialEventgetAdInteractionListener in interface POBInterstitialEvent