onAudioEffectFinished property

void Function(int soundId)? onAudioEffectFinished
final

Occurs when the playback of the local music file finishes. This callback occurs when the local audio effect file finishes playing.

  • soundId The audio effect ID. The ID of each audio effect file is unique.

Implementation

final void Function(int soundId)? onAudioEffectFinished;