setVolumeOfEffect abstract method
Gets the volume of a specified audio effect file.
soundIdThe ID of the audio effect. The ID of each audio effect file is unique.volumeThe playback volume. The value range is0, 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> setVolumeOfEffect({required int soundId, required int volume});