interface SxInstreamVideoPlayerWrapper : SxVideoPlayerWrapper
Describes the instream video player with support for observing the different properties of the player.
loadAd |
Pause content video playback and start playback of the provided media url. abstract fun loadAd(url: String, closedCaptions: List<SxClosedCaption>): Unit |
loadContent |
Start or resume the content video playback. abstract suspend fun loadContent(): Unit |
onContentVideoSought |
Is used to determine the remaining advertising slots after the content video was sought by the user. open suspend fun onContentVideoSought(remainingAdSlots: List<SxSequencerAdSlot>, removedAdSlots: List<SxSequencerAdSlot>): List<SxSequencerAdSlot> |
sequenceFinished |
Whole sequence of content and advertising media has finished playback. open suspend fun sequenceFinished(): Unit |
InstreamExoWrapper |
Implements the SxInstreamVideoPlayerWrapper for the SimpleExoPlayer. open class InstreamExoWrapper : ExoWrapper, SxInstreamVideoPlayerWrapper, IExoVideoSwitcher |