onAudioMixingPositionChanged
Reports the playback progress of a music file.
onAudioMixingPositionChanged?(position: number): void;
Details
After you called the startAudioMixing method to play a music file, the SDK triggers this callback every two seconds to report the playback progress.
Parameters
- position
- The playback progress (ms).
Returns
- 0: Success.
- < 0: Failure.