PlayerCallback

interface PlayerCallback

Interface for alerting caller of major video events.

Functions

Link copied to clipboard
open fun onCompleted()
Called when the current video has completed playback to the end of the video.
Link copied to clipboard
open fun onError()
Called when an adError occurs during video playback.
Link copied to clipboard
open fun onPause()
Called when the current video pauses playback.
Link copied to clipboard
open fun onPlay()
Called when the current video starts playing from the beginning.
Link copied to clipboard
open fun onResume()
Called when the current video resumes playing from a paused state.