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


addAudioFromStream

NameDescription
addAudioFromStream (AudioCollection, ReadStream, Function)Creates and adds a audio to a presentation from stream.

Parameters:

NameTypeDescription
audiocollectionAudioCollectionlink to self
streamReadStreamStream to add audio from.
callbackFunctioncallback(error, Returns) - Callback to be called when the method has completed

Returns: Audio


addAudioFromStream

NameDescription
addAudioFromStream (AudioCollection, ReadStream, int, Function)Creates and adds a audio to a presentation from stream.

Parameters:

NameTypeDescription
audiocollectionAudioCollectionlink to self
streamReadStreamStream to add video audio from.
loadingStreamBehaviorintThe behavior which will be applied to the stream.
callbackFunctioncallback(error, Returns) - Callback to be called when the method has completed

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