CuesWithTiming
@UnstableApi
class CuesWithTiming
A list of Cue instances with a start time and duration.
Summary
Public constructors |
|---|
|
Creates an instance. |
Public properties |
|
|---|---|
ImmutableList<Cue!>! |
The cues to show on screen. |
Long |
The duration for which |
Long |
The time at which |
Long |
The time at which |
Public constructors
Public properties
durationUs
val durationUs: Long
The duration for which cues should be shown on screen, in microseconds, or TIME_UNSET if not known.
If cueReplacementBehavior is CUE_REPLACEMENT_BEHAVIOR_MERGE then cues from multiple instances will be shown on screen simultaneously if their start times and durations overlap.
TIME_UNSET is only permitted if the cueReplacementBehavior of the current track is CUE_REPLACEMENT_BEHAVIOR_REPLACE.
endTimeUs
val endTimeUs: Long
The time at which cues should stop being shown on screen, in microseconds, or TIME_UNSET if not known.
The time base of this is the same as startTimeUs.
If cueReplacementBehavior is CUE_REPLACEMENT_BEHAVIOR_MERGE then cues from multiple instances will be shown on screen simultaneously if their start and times overlap.
TIME_UNSET is only permitted if the cueReplacementBehavior of the current track is CUE_REPLACEMENT_BEHAVIOR_REPLACE.
startTimeUs
val startTimeUs: Long
The time at which cues should be shown on screen, in microseconds, or TIME_UNSET if not known.
The time base of this depends on the context from which this instance was obtained.