Package com.pubmatic.sdk.common.ui
Interface POBHtmlRendererListener
-
- All Implemented Interfaces:
public interface POBHtmlRendererListenerPOBHtmlRendererListener is an interface having the callback events which will be invoked on rendering event of HTML renderer.
-
-
Method Summary
Modifier and Type Method Description abstract voidonViewRendered(@NonNull() View view)Notifies the view render event of the HTML rendering. abstract voidonViewRenderingFailed(@NonNull() POBError error)Notifies the failure cause of the HTML rendering abstract voidonViewClicked(@Nullable() String url)Notifies the click event when click event happens on HTML Renderer view. abstract voidonRenderProcessGone()Notifies the Rendering Process terminated, clean up the views by destroying and removing it from View hierarchy. -
-
Method Detail
-
onViewRendered
abstract void onViewRendered(@NonNull() View view)
Notifies the view render event of the HTML rendering.
- Parameters:
view- Rendered view
-
onViewRenderingFailed
abstract void onViewRenderingFailed(@NonNull() POBError error)
Notifies the failure cause of the HTML rendering
- Parameters:
error- Error object which will have failure cause
-
onViewClicked
abstract void onViewClicked(@Nullable() String url)
Notifies the click event when click event happens on HTML Renderer view.
- Parameters:
url- the url which gets generated on view click
-
onRenderProcessGone
abstract void onRenderProcessGone()
Notifies the Rendering Process terminated, clean up the views by destroying and removing it from View hierarchy.
-
-
-
-