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