TimelineManager

Constructors

Link copied to clipboard
constructor(baseVideoView: BaseVideoView, streamManager: StreamManager, video: Video, type: Timeline.Type)

Types

Link copied to clipboard
interface Listener

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun addAd(ad: Ad)
Link copied to clipboard
open fun addListener(timelineManagerListeners: TimelineManager.Listener)
Link copied to clipboard
Link copied to clipboard
open fun getContentPosition(absolutePosition: Long): Long
Link copied to clipboard
Link copied to clipboard
Gets the current relative position of the playing media.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getStreamPosition(contentPosition: Long): Long
Link copied to clipboard
open fun onTick(lastPlayheadPosition: Long, currentPlayheadPosition: Long)
A tick represent an poll from the underlying video player.
Link copied to clipboard
open fun removeListener(timelineManagerListener: TimelineManager.Listener)
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun setAdIsPlaying(isAdPlaying: Boolean)
Link copied to clipboard
open fun setCuePoints(cuePoints: List<CuePoint>)
Link copied to clipboard
open fun setCurrentAdPlaying(ad: Ad)