stopEffect abstract method

Future<void> stopEffect(
  1. int soundId
)

Stops playing a specified audio effect.

  • 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);