getAudioMixingCurrentPosition method
Gets the playback position of the audio file.
Call this method when you are in a channel.
Note
Call this method after calling startAudioMixing and receiving the audioMixingStateChanged(Playing)
callback.
Returns
-
- The current playback position (ms) of the audio file, if this method call succeeds. 0 represents that the current audio file does not start playing
- Error code, if this method call fails.
Implementation
@override
Future<int?> getAudioMixingCurrentPosition() {
return _invokeMethod('getAudioMixingCurrentPosition');
}