getAudioMixingCurrentPosition method Null safety

Future<int?> getAudioMixingCurrentPosition()

Gets the playback position of the audio file.

Call this method when you are in a channel.


Call this method after calling startAudioMixing and receiving the audioMixingStateChanged(Playing) callback.


    • 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.


Future<int?> getAudioMixingCurrentPosition() {
  return _invokeMethod('getAudioMixingCurrentPosition');