addAudio

addAudio(Audio audio) method

Adds a copy of an audio file from an another presentation.

Parameters

NameTypeDescription
audioAudioSource audio.

Returns

Audio


addAudio(InputStream stream) method

Creates and adds a audio to a presentation from stream.

Parameters

NameTypeDescription
streamInputStreamStream to add audio from.

Returns

Audio


addAudio(InputStream stream, int loadingStreamBehavior) method

Creates and adds a audio to a presentation from stream.

Parameters

NameTypeDescription
streamInputStreamStream to add video audio from.
loadingStreamBehaviorintThe behavior which will be applied to the stream.

Returns

Audio


addAudio(byte[] audioData) method

Creates and adds a audio to a presentation from byte array.

Parameters

NameTypeDescription
audioDatabyte[]Audio bytes.

Returns

Audio