AudioCollection

AudioCollection class

Represents a collection of embedded audio files.

addAudio

NameDescription
addAudio(Audio)Adds a copy of an audio file from an another presentation.

Parameters:

NameTypeDescription
audioAudioSource audio.

Returns: Audio


addAudioFromBytes

NameDescription
addAudioFromBytes (Bytes[])Creates and adds a audio to a presentation from stream.

Parameters:

NameTypeDescription
streamBytes[]Stream to add audio from.

Returns: Audio


addAudioFromBytes

NameDescription
addAudioFromBytes (Bytes[], int)Creates and adds a audio to a presentation from stream.

Parameters:

NameTypeDescription
streamBytes[]Stream to add video audio from.
loadingStreamBehaviorintThe behavior which will be applied to the stream.

Returns: Audio


addAudio

NameDescription
addAudio(byte[])Creates and adds a audio to a presentation from byte array.

Parameters:

NameTypeDescription
audioDatabyte[]Audio bytes.

Returns: Audio


getSyncRoot

NameDescription
getSyncRoot()Returns a synchronization root. Read-only Object.

Returns: Object


get_Item

NameDescription
get_Item(int)Gets the element at the specified index. Read-only IAudio.

Returns: Audio


isSynchronized

NameDescription
isSynchronized()Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

Returns: boolean


iterator

NameDescription
iterator()Returns an enumerator that iterates through the collection.

Returns:


iteratorJava

NameDescription
iteratorJava()Returns a java iterator for the entire collection.

Returns:


size

NameDescription
size()Returns a number of audio files in the collection. Read-only int.

Returns: int