TTMLDocument
constructor(regions: Map<String, Region>, styles: Map<String, StyledElement>, body: Block, captions: List<BrightcoveClosedCaption>)
Initializes a TTMLDocument with the required components that comprise a TTML document.
Parameters
regions
the region definitions for this TTML document
styles
the style dfinitions for this TTML document
body
the body com.brightcove.player.model.Block element of the document
captions
a java.util.List of timed-text com.brightcove.player.captioning.BrightcoveClosedCaption objects