ICaptions

public interface ICaptions

Represents the WebVTT closed captions.

Methods

MethodDescription
getCaptionId()Returns the globally unique identifier (GUID) of the closed captions.
getLabel()Returns or sets the label of the closed captions.
setLabel(String value)Returns or sets the label of the closed captions.
getBinaryData()Returns the binary data of the closed captions.
getDataAsString()Returns the closed captions data as UTF-8 string Read-only String.

getCaptionId()

public abstract UUID getCaptionId()

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

Returns: java.util.UUID

getLabel()

public abstract String getLabel()

Returns or sets the label of the closed captions. Read/write String.

Returns: java.lang.String

setLabel(String value)

public abstract void setLabel(String value)

Returns or sets the label of the closed captions. Read/write String.

Parameters:

ParameterTypeDescription
valuejava.lang.String

getBinaryData()

public abstract byte[] getBinaryData()

Returns the binary data of the closed captions. Read-only byte[].

Returns: byte[]

getDataAsString()

public abstract String getDataAsString()

Returns the closed captions data as UTF-8 string Read-only String.

Returns: java.lang.String