lib / tv.smartclip.smartclientandroid.lib.dto / SxEventType

SxEventType

enum class SxEventType

Events that are send from the Android side to the JavaScript core.

Enum Values

LOADED_DATA

Fired when first video of an advertisement tag started playback.

PLAYER_PAUSE

Fired when the playback of an advertisement pauses.

PLAYER_PLAY

Fired when the playback of an advertisement starts or resumes.

VOLUME_CHANGED

Fired when the user changed the media volume.

ENDED

Fired when a single video of an advertisement slot has ended.

TIME_UPDATE

Fired approximately every minute when the playback of an advertisement is active.

ERROR

Fired when a video player exception should be reported to the core. The core will than call SmartCoreJsInterface.getError to receive the MediaError JSON.

Properties

jsType

The JavaScript string representation of the corresponding event.

val jsType: String

Functions

toString

fun toString(): String