SyncMediaTimelinePositionData

data class SyncMediaTimelinePositionData(val segmentIndex: Int, val offsetWithinSegmentMs: Int)

Describes a position within a SyncMediaTimeline instance.

Constructors

Link copied to clipboard
fun SyncMediaTimelinePositionData(segmentIndex: Int, offsetWithinSegmentMs: Int)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

The offset of this position within the segment in milliseconds.

Link copied to clipboard

The index of the segment that this position targets. If the position is at the end of the timeline, the index will equal timeline.getSegments().length.