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.

  • state The playback state of the music file. See AudioMixingStateType .
  • reason Error code. See AudioMixingReasonType .

Implementation

final void Function(AudioMixingStateType state, AudioMixingReasonType reason)?
    onAudioMixingStateChanged;