public final class WebvttCue extends Cue
| Modifier and Type | Class and Description |
|---|---|
static class |
WebvttCue.Builder
Builder for WebVTT cues.
|
Cue.AnchorType, Cue.LineType| Modifier and Type | Field and Description |
|---|---|
long |
endTime |
long |
startTime |
ANCHOR_TYPE_END, ANCHOR_TYPE_MIDDLE, ANCHOR_TYPE_START, bitmap, bitmapHeight, DIMEN_UNSET, line, LINE_TYPE_FRACTION, LINE_TYPE_NUMBER, lineAnchor, lineType, position, positionAnchor, size, text, textAlignment, TYPE_UNSET, windowColor, windowColorSet| Constructor and Description |
|---|
WebvttCue(java.lang.CharSequence text) |
WebvttCue(long startTime,
long endTime,
java.lang.CharSequence text) |
WebvttCue(long startTime,
long endTime,
java.lang.CharSequence text,
android.text.Layout.Alignment textAlignment,
float line,
int lineType,
int lineAnchor,
float position,
int positionAnchor,
float width) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNormalCue()
Returns whether or not this cue should be placed in the default position and rolled-up with
the other "normal" cues.
|
public WebvttCue(java.lang.CharSequence text)
public WebvttCue(long startTime,
long endTime,
java.lang.CharSequence text)
public WebvttCue(long startTime,
long endTime,
java.lang.CharSequence text,
android.text.Layout.Alignment textAlignment,
float line,
int lineType,
int lineAnchor,
float position,
int positionAnchor,
float width)