audioMixingStateChanged property
Occurs when the playback state of the local user's music file changes.
When you call the RtcEngine.startAudioMixing method and the state of audio mixing file changes, the Agora SDK triggers this callback. When the playback state of the local user's music file changes, the SDK triggers this callback and reports the current playback state and the reason for the change.
The AudioMixingStateCallback
typedef includes the following parameters:
- AudioMixingStateCode
state
: The current music file playback state. - AudioMixingReason
reason
: The reason for the change of the music file playback state.
Implementation
AudioMixingStateCallback? audioMixingStateChanged;