Video

Video class

Represents an image embedded into a presentation.

getBinaryData

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

Returns: byte


getContentType

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

Returns: String


getStream

NameDescription
getStream()Returns Stream stream for reading. Use ‘using’ or close stream after using.

Returns: InputStream