lib / tv.smartclip.smartclientandroid.lib.dto.sequencer / InstreamEvent

InstreamEvent

sealed class InstreamEvent

These Events are used to change the InstreamState in the SxSequencer class. If the event needs parameters, it is implemented in a data class. If there are no parameters for an event it uses an object as implementation.

Types

AdClipRequested

Is fired when the core calls SxAdSlotDelegate.load.

data class AdClipRequested : InstreamEvent

AdFinishedPlayback

Is fired when we receive the ON_AD_SLOT_COMPLETE event to indicate that the content of the current ad tag has finished his playback.

object AdFinishedPlayback : InstreamEvent

AdTagParsed

Is fired when ON_AD_TAG_PARSED event is received.

object AdTagParsed : InstreamEvent

ClickThroughDialogClosed

Is fired when the ClickThroughDialog is closing.

data class ClickThroughDialogClosed : InstreamEvent

ClickThroughDialogOpened

If fired when the ClickThroughDialog is opening.

object ClickThroughDialogOpened : InstreamEvent

ContentFinishedPlayback

Is fired when the content finishes playback and all ad slots have been played.

object ContentFinishedPlayback : InstreamEvent

ErrorEvent

object ErrorEvent : InstreamEvent

PlaybackStateChanged

Is fired when SxSequencer.latestPlaybackState changes.

data class PlaybackStateChanged : InstreamEvent

PlayWhenReadyChanged

Is fired when SxSequencer.playWhenReady changes.

data class PlayWhenReadyChanged : InstreamEvent

RequestAdLoading

Is fired to initiate the loading process of an ad tag with optional opener, closer and bumper.

data class RequestAdLoading : InstreamEvent

RequestContentLoading

Is fired to initiate the (re)load of the content video. This happens after an ad has finished playback or when there is no ad defined for the current playback parameters.

object RequestContentLoading : InstreamEvent

Functions

toString

open fun toString(): String