onAudioMixingStateChanged property
void Function(AudioMixingStateType state, AudioMixingReasonType reason)?
onAudioMixingStateChanged
final
Occurs when the playback state of the music file changes.
This callback occurs when the playback state of the music file changes, and reports the current state and error code.
stateThe playback state of the music file. See AudioMixingStateType.reasonError code. See AudioMixingReasonType.
Implementation
final void Function(AudioMixingStateType state, AudioMixingReasonType reason)?
onAudioMixingStateChanged;