Captions

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ICaptions

public class Captions implements 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 final UUID getCaptionId()

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

Returns: java.util.UUID

getLabel()

public final String getLabel()

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

Returns: java.lang.String

setLabel(String value)

public final void setLabel(String value)

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

Parameters:

ParameterTypeDescription
valuejava.lang.String

getBinaryData()

public final byte[] getBinaryData()

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

Returns: byte[]

getDataAsString()

public final String getDataAsString()

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

Returns: java.lang.String