audioEffectFinished property Null safety

SoundIdCallback? audioEffectFinished
read / write

Occurs when the audio effect file playback finishes.

You can start a local audio effect playback by calling the RtcEngine.playEffect method. This callback is triggered when the local audio effect file playback finishes.

The SoundIdCallback typedef includes the following parameter:

  • int soundId: ID of the local audio effect. Each local audio effect has a unique ID.

Implementation

SoundIdCallback? audioEffectFinished;