public class BrightcoveClosedCaption extends Block
StyledElement.FontStyle, StyledElement.FontWeight, StyledElement.TextAlign, StyledElement.TextDecoration, StyledElement.UnitbeginTime, beginTimeLong, endTime, endTimeLong, regionbackgroundColor, color, fontFamily, fontSize, fontStyle, fontWeight, styleName, textAlign, textDecoration| Constructor and Description |
|---|
BrightcoveClosedCaption() |
BrightcoveClosedCaption(int beginTime,
int endTime,
java.util.List<java.util.List<Span>> textLines)
Deprecated.
|
BrightcoveClosedCaption(int beginTime,
int endTime,
java.lang.String caption)
Deprecated.
|
BrightcoveClosedCaption(long beginTime,
long endTime,
java.util.List<java.util.List<Span>> textLines)
Initializes a Caption with the given begin time, end time, and text lines.
|
BrightcoveClosedCaption(long beginTime,
long endTime,
java.lang.String caption)
Initializes a Caption with the given begin time, end time, and text lines.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCaption() |
java.util.List<java.util.List<Span>> |
getLines()
The
List of caption text lines. |
java.util.ArrayList<java.lang.Integer> |
getTimeRange()
Deprecated.
|
java.util.ArrayList<java.lang.Long> |
getTimeRangeLong() |
void |
setLines(java.util.List<java.util.List<Span>> lines)
The
List of caption text lines. |
getBeginTime, getBeginTimeLong, getEndTime, getEndTimeLong, getRegion, setBeginTime, setBeginTime, setEndTime, setEndTime, setRegiongetBackgroundColor, getColor, getFontFamily, getFontSize, getFontStyle, getFontWeight, getStyleName, getTextAlign, getTextDecoration, setBackgroundColor, setColor, setFontFamily, setFontSize, setFontStyle, setFontWeight, setStyleName, setTextAlign, setTextDecorationpublic BrightcoveClosedCaption()
@Deprecated
public BrightcoveClosedCaption(int beginTime,
int endTime,
java.util.List<java.util.List<Span>> textLines)
BrightcoveClosedCaption(long, long, List)}public BrightcoveClosedCaption(long beginTime,
long endTime,
java.util.List<java.util.List<Span>> textLines)
beginTime - the begin time of the caption block, in millisecondsendTime - the end time of the caption block, in millisecondstextLines - the List of text lines in this caption block@Deprecated
public BrightcoveClosedCaption(int beginTime,
int endTime,
java.lang.String caption)
BrightcoveClosedCaption(long, long, String)}public BrightcoveClosedCaption(long beginTime,
long endTime,
java.lang.String caption)
beginTime - the begin time of the caption block, in millisecondsendTime - the end time of the caption block, in millisecondscaption - the captionpublic java.util.List<java.util.List<Span>> getLines()
List of caption text lines.public void setLines(java.util.List<java.util.List<Span>> lines)
List of caption text lines.lines - the line listpublic java.lang.String getCaption()
@Deprecated public java.util.ArrayList<java.lang.Integer> getTimeRange()
public java.util.ArrayList<java.lang.Long> getTimeRangeLong()