public class POBInterstitialRenderer
extends java.lang.Object
implements com.pubmatic.sdk.common.ui.POBInterstitialRendering, com.pubmatic.sdk.video.renderer.POBVideoRenderingListener, com.pubmatic.sdk.common.base.POBAdRendererListener
| Modifier and Type | Class and Description |
|---|---|
static interface |
POBInterstitialRenderer.RendererBuilder
Interface definitaion builds the Renderer and FullScreen dialog for Interstitial Ad.
|
| Constructor and Description |
|---|
POBInterstitialRenderer(android.content.Context context,
POBInterstitialRenderer.RendererBuilder rendererBuilder)
Proxy Interstitial Renderer.
|
| Modifier and Type | Method and Description |
|---|---|
void |
adEvent(java.lang.String event) |
void |
destroy() |
void |
enableBackPress() |
void |
onAdExpired() |
void |
onAdInteractionStarted() |
void |
onAdInteractionStopped() |
void |
onAdReadyToRefresh(int interval) |
void |
onAdRender(android.view.View view,
com.pubmatic.sdk.common.base.POBAdDescriptor descriptor) |
void |
onAdRenderingFailed(com.pubmatic.sdk.common.POBError error) |
void |
onAdUnload() |
void |
onLeavingApplication() |
void |
onRenderAdClick() |
void |
renderAd(com.pubmatic.sdk.common.base.POBAdDescriptor descriptor) |
void |
setAdRendererListener(com.pubmatic.sdk.common.ui.POBInterstitialRendererListener listener) |
void |
show(int requestedOrientation) |
void |
showInterstitialAd(int requestedOrientation)
To present/show interstitial ad in FullScreenDialog
|
public POBInterstitialRenderer(@NonNull
android.content.Context context,
@NonNull
POBInterstitialRenderer.RendererBuilder rendererBuilder)
context - the activity contextrendererBuilder - the reference of RendererBuilderpublic void renderAd(@NonNull
com.pubmatic.sdk.common.base.POBAdDescriptor descriptor)
renderAd in interface com.pubmatic.sdk.common.ui.POBInterstitialRenderingpublic void setAdRendererListener(com.pubmatic.sdk.common.ui.POBInterstitialRendererListener listener)
setAdRendererListener in interface com.pubmatic.sdk.common.ui.POBInterstitialRenderingpublic void onAdReadyToRefresh(int interval)
onAdReadyToRefresh in interface com.pubmatic.sdk.common.base.POBAdRendererListenerpublic void show(int requestedOrientation)
show in interface com.pubmatic.sdk.common.ui.POBInterstitialRenderingpublic void showInterstitialAd(int requestedOrientation)
requestedOrientation - int value of Activity orientationpublic void destroy()
destroy in interface com.pubmatic.sdk.common.ui.POBInterstitialRenderingpublic void onAdRender(android.view.View view,
com.pubmatic.sdk.common.base.POBAdDescriptor descriptor)
onAdRender in interface com.pubmatic.sdk.common.base.POBAdRendererListenerpublic void onAdRenderingFailed(com.pubmatic.sdk.common.POBError error)
onAdRenderingFailed in interface com.pubmatic.sdk.common.base.POBAdRendererListenerpublic void onRenderAdClick()
onRenderAdClick in interface com.pubmatic.sdk.common.base.POBAdRendererListenerpublic void onAdInteractionStarted()
onAdInteractionStarted in interface com.pubmatic.sdk.common.base.POBAdRendererListenerpublic void onAdInteractionStopped()
onAdInteractionStopped in interface com.pubmatic.sdk.common.base.POBAdRendererListenerpublic void onAdUnload()
onAdUnload in interface com.pubmatic.sdk.common.base.POBAdRendererListenerpublic void onLeavingApplication()
onLeavingApplication in interface com.pubmatic.sdk.common.base.POBAdRendererListenerpublic void onAdExpired()
onAdExpired in interface com.pubmatic.sdk.common.base.POBAdRendererListenerpublic void adEvent(java.lang.String event)
adEvent in interface com.pubmatic.sdk.video.renderer.POBVideoRenderingListenerpublic void enableBackPress()
enableBackPress in interface com.pubmatic.sdk.video.renderer.POBVideoRenderingListener