setEffectsVolume abstract method

Future<void> setEffectsVolume(
  1. int volume
)

Sets the volume of the audio effects.

Call this method after playEffect.

  • volume The playback volume. The value range is 0, 100. The default value is 100, which represents the original volume.

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> setEffectsVolume(int volume);