getAudioMixingDuration abstract method

Future<int> getAudioMixingDuration()

Retrieves the duration (ms) of the music file.

Retrieves the total duration (ms) of the audio. You need to call this method after calling startAudioMixing and receiving the onAudioMixingStateChanged (audioMixingStatePlaying) callback.

Returns ≥ 0: The audio mixing duration, if this method call succeeds. < 0: Failure.

Implementation

Future<int> getAudioMixingDuration();