Video

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.IVideo, com.aspose.slides.IDOMObject

public class Video implements IVideo, IDOMObject

Represents an image embedded into a presentation.

Methods

Method Description
getContentType() Returns a MIME type of an video, encoded in (#getBinaryData.getBinaryData).
getBinaryData() Returns the copy of an audio’s data.
getStream() Returns Stream stream for reading.
getParent_Immediate()

getContentType()

public final String getContentType()

Returns a MIME type of an video, encoded in (#getBinaryData.getBinaryData). Read-only String.

Returns: java.lang.String

getBinaryData()

public final byte[] getBinaryData()

Returns the copy of an audio’s data. In case of large amount of data consider using of #getStream.getStream method to prevent unnecessary loading of video’s data into memory or even OutOfMemoryException. Read-only byte[].

Returns: byte[]

getStream()

public final InputStream getStream()

Returns Stream stream for reading. Use ‘using’ or close stream after using.

Returns: java.io.InputStream - Stream for reading.

getParent_Immediate()

public final IDOMObject getParent_Immediate()

Returns Parent_Immediate object. Read-only IDOMObject.

Returns: com.aspose.slides.IDOMObject