SyncMediaSegmentActiveEngineEventData

class SyncMediaSegmentActiveEngineEventData(val objectType: EngineEventDataObjectType = EngineEventDataObjectType.SYNC_MEDIA_SEGMENT_ACTIVE_ENGINE_EVENT, val type: EngineEventDataType, val approximateElapsedTimeMs: Int, val syncMediaTimelinePosition: SyncMediaTimelinePositionData, val segmentIndex: Int, val targets: List<SyncMediaSegmentTargetData>) : SyncMediaEngineEventData

Constructors

Link copied to clipboard
fun SyncMediaSegmentActiveEngineEventData(objectType: EngineEventDataObjectType = EngineEventDataObjectType.SYNC_MEDIA_SEGMENT_ACTIVE_ENGINE_EVENT, type: EngineEventDataType, approximateElapsedTimeMs: Int, syncMediaTimelinePosition: SyncMediaTimelinePositionData, segmentIndex: Int, targets: List<SyncMediaSegmentTargetData>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The approximate elapsed time from timeline start in milliseconds

Link copied to clipboard

The type of engine event object this JSON structure represents.

Link copied to clipboard

The index in the timeline of the current active SyncMediaSegment.

Link copied to clipboard

The current player timeline position.

Link copied to clipboard

The targets related with the segment, such as the DOM node being spoken by TTS, or active element when playing media overlays.

Link copied to clipboard

The type of event.