Class WebVTTDocument

  • All Implemented Interfaces:
    java.io.Serializable

    public class WebVTTDocument
    extends CaptionsDocument
    Represents a parsed WebVTT document. This object is not a complete representation of the W3C WebVTT specification.
    See Also:
    Serialized Form
    • Constructor Detail

      • WebVTTDocument

        public WebVTTDocument​(java.util.List<BrightcoveClosedCaption> captions)
        Initializes a WebVTTDocument with the required components that comprise a WebVTT document.
        Parameters:
        captions - a List of timed-text BrightcoveClosedCaption objects
      • WebVTTDocument

        public WebVTTDocument​(java.util.Map<java.lang.String,​Region> regions,
                              java.util.List<BrightcoveClosedCaption> captions)