public interface DateRangeCue extends TextTrackCue
Modifier and Type | Interface and Description |
---|---|
static interface |
DateRangeCue.CustomAttributes |
Modifier and Type | Method and Description |
---|---|
String |
getAttributeClass()
The class of the date range cue.
|
DateRangeCue.CustomAttributes |
getCustomAttributes()
The custom attributes of the date range cue.
|
Double |
getDuration()
The duration of the date range cue.
|
Date |
getEndDate()
The playback position at which the date range cue becomes inactive, as a Date.
|
Double |
getPlannedDuration()
The planned duration of the date range cue, in seconds.
|
byte[] |
getScte35Cmd()
The SCTE 'cmd' splice_info_section of the date range cue.
|
byte[] |
getScte35In()
The SCTE 'in' splice_info_section of the date range cue.
|
byte[] |
getScte35Out()
The SCTE 'out' splice_info_section of the date range cue.
|
Date |
getStartDate()
The playback position at which the date range cue becomes active, as a Date.
|
boolean |
isEndOnNext()
Returns whether the end date of this cue will become equal to the start of the next cue, once it is known.
|
getContent, getEndTime, getId, getStartTime
addEventListener, removeEventListener
String getAttributeClass()
- The class is a client-defined string that specifies a set of attributes with associated value semantics.
Date getStartDate()
Date getEndDate()
- The end date will be the same or after the start date.
Double getDuration()
- Null when the duration is unknown.
Double getPlannedDuration()
- This is used when the exact duration is not known yet.
boolean isEndOnNext()
- Both date range cues have the same getAttributeClass()
.
byte[] getScte35Cmd()
byte[] getScte35Out()
byte[] getScte35In()
DateRangeCue.CustomAttributes getCustomAttributes()
DateRangeCue.CustomAttributes
.- The attribute name does not include the 'X-' prefix.