← back to roto on ba3a.dev

TimeRange

@Serializable
data class TimeRange(val startMs: Long, val endMs: Long)

A half-open range of a video's timeline, startMs inclusive to endMs exclusive.

Constructors

Link copied to clipboard
constructor(startMs: Long, endMs: Long)

Properties

Link copied to clipboard

The length of the range in milliseconds.

Link copied to clipboard
val endMs: Long

the end of the range, exclusive

Link copied to clipboard

the first millisecond of the range, inclusive