pauseEffect abstract method

Future<void> pauseEffect(
  1. int soundId
)

Pauses playback of the audio effect file.

  • soundId 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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> pauseEffect(int soundId);