Package com.pubmatic.sdk.common.ui
Interface POBRendererViewListener
-
- All Implemented Interfaces:
public interface POBRendererViewListenerPMRendererViewListener is an interface having the callback events which will be invoked on rendering event of HTML view.
-
-
Method Summary
Modifier and Type Method Description abstract voidonViewRendered(View view)Notifies the success event of the HTML view rendering abstract voidonViewRenderingFailed(POBError error)Notifies the failure cause of the HTML view rendering abstract voidonViewClicked(String url)Notifies the click event on the rendered HTML view abstract voidonAdInteractionStarted()Notifies the interaction start event on the rendered HTML view abstract voidonAdInteractionStopped()Notifies the interaction stop event on the rendered HTML view abstract voidonAdUnload()Notifies the unload event on the rendered HTML view abstract voidonLeavingApplication()Notifies the app leave event on the rendered HTML view -
-
Method Detail
-
onViewRendered
abstract void onViewRendered(View view)
Notifies the success event of the HTML view rendering
- Parameters:
view- Rendered view
-
onViewRenderingFailed
abstract void onViewRenderingFailed(POBError error)
Notifies the failure cause of the HTML view rendering
- Parameters:
error- Error object with failure cause
-
onViewClicked
abstract void onViewClicked(String url)
Notifies the click event on the rendered HTML view
- Parameters:
url- Landing page URL need to be open on click event
-
onAdInteractionStarted
abstract void onAdInteractionStarted()
Notifies the interaction start event on the rendered HTML view
-
onAdInteractionStopped
abstract void onAdInteractionStopped()
Notifies the interaction stop event on the rendered HTML view
-
onAdUnload
abstract void onAdUnload()
Notifies the unload event on the rendered HTML view
-
onLeavingApplication
abstract void onLeavingApplication()
Notifies the app leave event on the rendered HTML view
-
-
-
-