addAudio
Contents
[
Hide
]addAudio(Audio audio) function
Adds a copy of an audio file from an another presentation.
Parameters
Name | Type | Description |
---|---|---|
audio | Audio | Source audio. |
Result
addAudioFromStream (AudioCollection audiocollection, ReadStream stream, Function callback) 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, result) - Callback to be called when the method has completed |
Result
addAudioFromStream (AudioCollection audiocollection, ReadStream stream, int loadingStreamBehavior, Function callback) 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, result) - Callback to be called when the method has completed |
Result
addAudio(byte[] audioData) function
Creates and adds a audio to a presentation from byte array.
Parameters
Name | Type | Description |
---|---|---|
audioData | byte[] | Audio bytes. |