BrightcoveClosedCaption

constructor()


constructor(beginTime: Long, endTime: Long, textLines: List<List<Span>>)

Initializes a Caption with the given begin time, end time, and text lines.

Parameters

beginTime

the begin time of the caption block, in milliseconds

endTime

the end time of the caption block, in milliseconds

textLines

the List of text lines in this caption block


constructor(beginTime: Long, endTime: Long, caption: String)

Initializes a Caption with the given begin time, end time, and text lines.

Parameters

beginTime

the begin time of the caption block, in milliseconds

endTime

the end time of the caption block, in milliseconds

caption

the caption


constructor(beginTime: Int, endTime: Int, textLines: List<List<Span>>)
constructor(beginTime: Int, endTime: Int, caption: String)

Deprecated

Deprecated. Instead use {BrightcoveClosedCaption}