com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class Audio

    • Method Detail

      • getContentType

        public final java.lang.String getContentType()

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

        Specified by:
        getContentType in interface IAudio
      • setContentType

        public final void setContentType(java.lang.String value)

        Returns a MIME type of an audio, encoded in (getBinaryData()). Read-only 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() method to prevent unnecessary loading of audio's data into memory or even OutOfMemoryException. Read-only byte[].

        Specified by:
        getBinaryData in interface IAudio
      • getStream

        public final java.io.InputStream getStream()

        Returns Stream stream for reading. Use 'using' or close stream after using.

        Specified by:
        getStream in interface IAudio
        Returns:
        Stream for reading.