Interface POBMediaViewRendererHelper.Listener

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit onMediaViewReady(ViewGroup mediaView) Called when the media view is ready with video or image content
      abstract Unit onVideoEventOccur(POBDataType.POBVideoAdEventType eventType) Called when a video event occurs during playback
      abstract Unit onImageAssetClick(Integer assetId) Called when the media view (image) is clicked
      abstract Unit onVideoAssetClick(String vastClickThroughUrl) Called when the video asset is clicked.
      abstract Unit onLeavingApplication() Called when the ad interaction leads to leaving the application
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • onMediaViewReady

         abstract Unit onMediaViewReady(ViewGroup mediaView)

        Called when the media view is ready with video or image content

        Parameters:
        mediaView - The media view container
      • onVideoEventOccur

         abstract Unit onVideoEventOccur(POBDataType.POBVideoAdEventType eventType)

        Called when a video event occurs during playback

        Parameters:
        eventType - The type of video event
      • onImageAssetClick

         abstract Unit onImageAssetClick(Integer assetId)

        Called when the media view (image) is clicked

        Parameters:
        assetId - The ID of the clicked asset
      • onVideoAssetClick

         abstract Unit onVideoAssetClick(String vastClickThroughUrl)

        Called when the video asset is clicked. This provides the VAST click-through URL for proper handling.

        Parameters:
        vastClickThroughUrl - The VAST click-through URL (can be null)
      • onLeavingApplication

         abstract Unit onLeavingApplication()

        Called when the ad interaction leads to leaving the application