stop abstract method

Future<int?> stop(
  1. int effectId
)

Stops the playback of audio effect files.

Return value:

  • 0: Success.
  • <0: Failure.

Notes:

  • After calling the RTCAudioEffectPlayer.start API to start playing the audio effect file, you can call this API to stop playing the audio effect file.
  • After calling this API to stop playing an audio effect file, the audio effect file will be unloaded automatically.

Implementation

Future<int?> stop(int effectId);