class SxSequencer : IKoinDi, SxEventProvider
Controller class for instream use cases.
Companion |
companion object Companion : (SxInstreamVideoPlayerWrapper, List<SxSequencerAdSlot>, SxConfiguration) -> SxSequencer, (SxInstreamPlayerDelegate, View, ViewGroup, List<SxSequencerAdSlot>, SxConfiguration) -> SxSequencer |
latestPlaybackState |
Must be called when the playback state of the content or advertisement video changes. var |
playWhenReady |
Controls the running state of this sequencer.
If var |
release |
fun release(): Unit |
reportPlaybackException |
Exceptions, which prevent advertising playback, must be reported here. fun |
invoke |
Controller class for instream use cases. fun invoke(wrapper: SxInstreamVideoPlayerWrapper, adSlots: List<SxSequencerAdSlot>, config: SxConfiguration): SxSequencer fun |