Captions

Captions class

Represents the WebVTT closed captions.

getBinaryData

NameDescription
getBinaryData ()Returns the binary data of the closed captions. Read-only byte[].

Returns: byte


getCaptionId

NameDescription
getCaptionId ()Returns the globally unique identifier (GUID) of the closed captions. Read-only java.util.UUID.

Returns: UUID


getDataAsString

NameDescription
getDataAsString ()Returns the closed captions data as UTF-8 string Read-only String.

Returns: String


getLabel

NameDescription
getLabel ()Returns or sets the label of the closed captions. Read/write String.

Returns: String


setLabel

NameDescription
setLabel (String)Returns or sets the label of the closed captions. Read/write String.

Returns: void