SyncMediaTimelinePositionData

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

Describes a position within a SyncMediaTimeline instance.

Constructors

Link copied to clipboard
constructor(segmentIndex: Int, offsetWithinSegmentMs: Int)

Types

Link copied to clipboard
object Companion

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.

Functions

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