stopEffect abstract method
Stops playing a specified audio effect.
When you no longer need to play the audio effect, you can call this method to stop the playback. If you only need to pause the playback, call pauseEffect.
soundId
The ID of the audio effect. Each audio effect has a unique ID.
Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.
Implementation
Future<void> stopEffect(int soundId);