SyncMediaRangeEngineEventData

class SyncMediaRangeEngineEventData(val objectType: EngineEventDataObjectType = EngineEventDataObjectType.SYNC_MEDIA_RANGE_ENGINE_EVENT, val type: EngineEventDataType, val approximateElapsedTimeMs: Int, val syncMediaTimelinePosition: SyncMediaTimelinePositionData, val playbackRange: SyncMediaPlaybackRangeData, val reason: SyncMediaRangePlaybackRemoveReason? = null) : SyncMediaEngineEventData

Used for events related to range playback in the SyncMediaPlayer.

Constructors

Link copied to clipboard
constructor(objectType: EngineEventDataObjectType = EngineEventDataObjectType.SYNC_MEDIA_RANGE_ENGINE_EVENT, type: EngineEventDataType, approximateElapsedTimeMs: Int, syncMediaTimelinePosition: SyncMediaTimelinePositionData, playbackRange: SyncMediaPlaybackRangeData, reason: SyncMediaRangePlaybackRemoveReason? = null)

Types

Link copied to clipboard
object Companion

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 playback range this event relates to.

Link copied to clipboard

If a playback range was removed, this property describes the reason why it was removed.

Link copied to clipboard

The current player timeline position.

Link copied to clipboard

The type of event.

Functions

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