com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IAudioCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method and Description
      IAudio addAudio(byte[] audioData)
      Creates and adds a audio to a presentation from byte array.
      IAudio addAudio(IAudio audio)
      Adds a copy of an audio file from an another presentation.
      IAudio addAudio(java.io.InputStream stream)
      Deprecated. 
      Use addAudio(InputStream stream, int loadingStreamBehavior). The method will be removed in version 17.10.
      IAudio addAudio(java.io.InputStream stream, int loadingStreamBehavior)
      Creates and adds a audio to a presentation from stream.
      IAudio get_Item(int index)
      Gets the element at the specified index.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface com.aspose.ms.System.Collections.ICollection

        copyTo, getSyncRoot, isSynchronized, size
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • 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.