AudioCollection
AudioCollection class
Represents a collection of embedded audio files.
addAudio
Name | Description |
---|---|
addAudio (Audio) | Adds a copy of an audio file from an another presentation. |
Parameters:
Name | Type | Description |
---|---|---|
audio | Audio | Source audio. |
Returns: Audio
addAudioFromStream
Name | Description |
---|---|
addAudioFromStream (AudioCollection, ReadStream, Function) | Creates and adds a audio to a presentation from stream. |
Parameters:
Name | Type | Description |
---|---|---|
audiocollection | AudioCollection | link to self |
stream | ReadStream | Stream to add audio from. |
callback | Function | callback(error, Returns) - Callback to be called when the method has completed |
Returns: Audio
addAudioFromStream
Name | Description |
---|---|
addAudioFromStream (AudioCollection, ReadStream, int, Function) | Creates and adds a audio to a presentation from stream. |
Parameters:
Name | Type | Description |
---|---|---|
audiocollection | AudioCollection | link to self |
stream | ReadStream | Stream to add video audio from. |
loadingStreamBehavior | int | The behavior which will be applied to the stream. |
callback | Function | callback(error, Returns) - Callback to be called when the method has completed |
Returns: Audio
addAudio
Name | Description |
---|---|
addAudio (byte[]) | Creates and adds a audio to a presentation from byte array. |
Parameters:
Name | Type | Description |
---|---|---|
audioData | byte[] | Audio bytes. |
Returns: Audio
getSyncRoot
Name | Description |
---|---|
getSyncRoot () | Returns a synchronization root. Read-only Object. |
Returns: Object
get_Item
Name | Description |
---|---|
get_Item (int) | Gets the element at the specified index. Read-only IAudio. |
Returns: Audio
isSynchronized
Name | Description |
---|---|
isSynchronized () | Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean. |
Returns: boolean
iterator
Name | Description |
---|---|
iterator () | Returns an enumerator that iterates through the collection. |
Returns:
iteratorJava
Name | Description |
---|---|
iteratorJava () | Returns a java iterator for the entire collection. |
Returns:
size
Name | Description |
---|---|
size () | Returns a number of audio files in the collection. Read-only int. |
Returns: int