createCaptionFormat
Creates a caption object which will encapsulate the formatting data into a BrightcoveCaptionFormat object.
Return
a BrightcoveCaptionFormat with stored type and language information.
Parameters
type
the caption mimetype
language
the caption language code
open fun createCaptionFormat(type: String, language: String, label: String): BrightcoveCaptionFormat
Creates a caption object which will encapsulate the formatting data into a BrightcoveCaptionFormat object.
Return
a BrightcoveCaptionFormat with stored type and language information.
Parameters
type
the caption mimetype
language
the caption language code
label
the label property