SubtitleCueList

@Immutable
data class SubtitleCueList(val cues: List<SubtitleCue> = emptyList())

Represents a collection of subtitle cues for a specific track.

Constructors

Link copied to clipboard
constructor(cues: List<SubtitleCue> = emptyList())

Properties

Link copied to clipboard
val cues: List<SubtitleCue>

The list of subtitle cues

Functions

Link copied to clipboard
fun getActiveCues(currentTimeMs: Long): List<SubtitleCue>

Gets the active subtitle cues at the given time.