onAudioMixingPositionChanged property
Reports the playback progress of a music file.
After you called the startAudioMixing method to play a music file, the SDK triggers this callback every two seconds to report the playback progress.
positionThe playback progress (ms).
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
final void Function(int position)? onAudioMixingPositionChanged;