BrightcoveCaptionFormat
A class for describing the format options of a caption source.
Author
Billy Hnath (bhnath@brightcove.com)
Jim Whisenant (jwhisenant@brightcove.com) - refactoring to better support adding new properties without their being automatically required
Types
Functions
Link copied to clipboard
Creates a new builder for the BrightcoveCaptionFormat class.
Link copied to clipboard
open fun createCaptionFormat(type: String, language: String, label: String): BrightcoveCaptionFormat
Creates a caption object which will encapsulate the formatting data into a BrightcoveCaptionFormat object.
Link copied to clipboard
open fun findMatchingLanguageIgnoreMimeType(pairList: List<out Pair<Uri, BrightcoveCaptionFormat>>, brightcoveCaptionFormat: BrightcoveCaptionFormat): Pair<Uri, BrightcoveCaptionFormat>
Link copied to clipboard
Get the label or the display language (if the label is a language code or empty).
Link copied to clipboard
The in band metadata track dispatch type for this caption object
Link copied to clipboard
Checks if this caption format's type matches any of the specified caption types.