com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IAudioCollection

    • Method Detail

      • get_Item

        IAudio get_Item(int index)

        Gets the element at the specified index. Read-only IAudio.

      • addAudio

        IAudio addAudio(IAudio audio)

        Adds a copy of an audio file from an another presentation.

        Parameters:
        audio - Source audio.
        Returns:
        Added audio.
      • addAudio

        @Deprecated
        IAudio addAudio(java.io.InputStream stream)
        Deprecated. Use addAudio(InputStream stream, int loadingStreamBehavior). The method will be removed in version 17.10.

        Creates and adds a audio to a presentation from stream.

        Parameters:
        stream - Stream to add audio from.
        Returns:
        Added audio.
      • addAudio

        IAudio addAudio(java.io.InputStream stream,
                        int loadingStreamBehavior)

        Creates and adds a audio to a presentation from stream.

        Parameters:
        stream - Stream to add video audio from.
        loadingStreamBehavior - The behavior which will be applied to the stream.
        Returns:
        Added audio.
      • addAudio

        IAudio addAudio(byte[] audioData)

        Creates and adds a audio to a presentation from byte array.

        Parameters:
        audioData - Audio bytes.
        Returns:
        Added audio.