Event

constructor(emittedAtInMs: Long, type: Event.EventType, videoTimeInS: Float, videoWidth: Int, videoHeight: Int, paused: Boolean, errorCode: ErrorCode)

Parameters

emittedAtInMs

The time at which the event was emitted, in milliseconds.

type

The type of the event.

videoTimeInS

The time in the video at which the event was emitted, in seconds.

videoWidth

The width of the video at the time of the event.

videoHeight

The height of the video at the time of the event.

paused

Whether the video was paused at the time of the event.

errorCode

The error code, if the event is of type EventType.ERROR.