enum class SxEventType
Events that are send from the Android side to the JavaScript core.
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. |
jsType |
The JavaScript string representation of the corresponding event. val jsType: String |
toString |
fun toString(): String |