class SxSequencer : IKoinDi
Controller class for instream use cases.
Companion |
companion object Companion : (IInstreamVideoPlayerWrapper, 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 reportPlaybackException(error: Exception?): Unit |
invoke |
Controller class for instream use cases. fun invoke(wrapper: IInstreamVideoPlayerWrapper, adSlots: List<SxSequencerAdSlot>, config: SxConfiguration): SxSequencer fun invoke(playerDelegate: SxInstreamPlayerDelegate, surfaceView: View, overlayContainer: ViewGroup, adSlots: List<SxSequencerAdSlot>, config: SxConfiguration): SxSequencer |