setVolumeOfEffect abstract method
Sets the volume of a specified audio effect. Call this method after playEffect .
Param soundId
The audio effect ID. The ID of each audio effect file is unique.
Param volume
The playback volume. The value ranges from 0 to 100. The default value is 100, which represents the original volume.
Implementation
Future<void> setVolumeOfEffect(int soundId, int volume);