public class WebVTTDocument extends CaptionsDocument
captions, regions
Constructor and Description |
---|
WebVTTDocument(java.util.List<BrightcoveClosedCaption> captions)
Initializes a WebVTTDocument with the required components that comprise a WebVTT document.
|
WebVTTDocument(java.util.Map<java.lang.String,Region> regions,
java.util.List<BrightcoveClosedCaption> captions) |
getCaptions, getRegions
public WebVTTDocument(java.util.List<BrightcoveClosedCaption> captions)
captions
- a List
of timed-text BrightcoveClosedCaption
objectspublic WebVTTDocument(java.util.Map<java.lang.String,Region> regions, java.util.List<BrightcoveClosedCaption> captions)