public final class WebvttCue extends Cue
| Modifier and Type | Class and Description |
|---|---|
static class |
WebvttCue.Builder
Builder for WebVTT cues.
|
Cue.AnchorType, Cue.LineType, Cue.TextSizeType| 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, TEXT_SIZE_TYPE_ABSOLUTE, TEXT_SIZE_TYPE_FRACTIONAL, TEXT_SIZE_TYPE_FRACTIONAL_IGNORE_PADDING, textAlignment, textSize, textSizeType, 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,
@Cue.LineType
int lineType,
@Cue.AnchorType
int lineAnchor,
float position,
@Cue.AnchorType
int positionAnchor,
float width)