@MainThread
public interface POBAdRendererListener
| Modifier and Type | Method and Description |
|---|---|
void |
onAdExpired()
This method is called to notify ad expiration
|
void |
onAdImpression()
Notifies ad impression
|
void |
onAdInteractionStarted()
Notifies the callback for interaction started on the ad creative like Internal browser is
opened.
|
void |
onAdInteractionStopped()
Notifies the callback for interaction stoped on the ad creative like Internal browser is
closed.
|
void |
onAdReadyToRefresh(int interval)
Notifies about that ad is ready to refresh after is rendered successfully
|
void |
onAdRender(android.view.View view,
POBAdDescriptor descriptor)
This method gets called if rendering of ad gets successful
|
void |
onAdRenderingFailed(POBError error)
This method gets called if rendering of ad failed
|
void |
onAdUnload()
This method is called to notify ad is unloaded itself using MRIAD protocol
|
void |
onLeavingApplication()
This method is called to notify the app leaving state
|
void |
onRenderAdClick()
Notifies about the click event on the rendered view
|
void |
onRenderProcessGone()
Notifies rendering process terminated.
|
void onAdRender(@NonNull
android.view.View view,
@Nullable
POBAdDescriptor descriptor)
view - Rendered viewdescriptor - Ad descriptor provided in renderAd()void onAdRenderingFailed(@NonNull
POBError error)
error - Error object defines the failure causevoid onRenderAdClick()
void onAdReadyToRefresh(int interval)
interval - refresh time interval in secvoid onAdInteractionStarted()
void onAdInteractionStopped()
void onAdUnload()
void onLeavingApplication()
void onAdExpired()
void onRenderProcessGone()
void onAdImpression()