onAudioMixingFinished property

void Function()? onAudioMixingFinished
final

Occurs when the playback of the local music file finishes. Deprecated:Please use onAudioMixingStateChanged instead.After you call startAudioMixing to play a local music file, this callback occurs when the playback finishes. If the call startAudioMixing fails, the error code WARN_AUDIO_MIXING_OPEN_ERROR is returned.

Implementation

final void Function()? onAudioMixingFinished;