Package com.brightcove.player.model
Class WebVTTDocument
java.lang.Object
com.brightcove.player.model.CaptionsDocument
com.brightcove.player.model.WebVTTDocument
- All Implemented Interfaces:
Serializable
Represents a parsed WebVTT document. This object is not a complete representation of the W3C
WebVTT specification.
- See Also:
-
Field Summary
Fields inherited from class com.brightcove.player.model.CaptionsDocument
captions, regions
-
Constructor Summary
ConstructorDescriptionWebVTTDocument
(List<BrightcoveClosedCaption> captions) Initializes a WebVTTDocument with the required components that comprise a WebVTT document.WebVTTDocument
(Map<String, Region> regions, List<BrightcoveClosedCaption> captions) -
Method Summary
Methods inherited from class com.brightcove.player.model.CaptionsDocument
getCaptions, getRegions
-
Constructor Details
-
WebVTTDocument
Initializes a WebVTTDocument with the required components that comprise a WebVTT document.- Parameters:
captions
- aList
of timed-textBrightcoveClosedCaption
objects
-
WebVTTDocument
-