Interface POBMediaViewRendererHelper.Listener
-
- All Implemented Interfaces:
public interface POBMediaViewRendererHelper.ListenerListener interface for media view helper callbacks
-
-
Method Summary
Modifier and Type Method Description abstract UnitonMediaViewReady(ViewGroup mediaView)Called when the media view is ready with video or image content abstract UnitonVideoEventOccur(POBDataType.POBVideoAdEventType eventType)Called when a video event occurs during playback abstract UnitonImageAssetClick(Integer assetId)Called when the media view (image) is clicked abstract UnitonVideoAssetClick(String vastClickThroughUrl)Called when the video asset is clicked. abstract UnitonLeavingApplication()Called when the ad interaction leads to leaving the application -
-
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
-
-
-
-