adjustRecordingSignalVolume method Null safety

Future<void> adjustRecordingSignalVolume(
  1. int volume
)

Adjusts the recording volume.

Note

  • To avoid echoes and improve call quality, Agora recommends setting the value of volume between 0 and 100. If you need to set the value higher than 100, contact support@agora.io first.

Parameter volume Recording volume. The value ranges between 0 and 400:

  • 0: Mute.
  • 100: Original volume.
  • 400: (Maximum) Four times the original volume with signal-clipping protection.

Implementation

@override
Future<void> adjustRecordingSignalVolume(int volume) {
  return _invokeMethod('adjustRecordingSignalVolume', {
    'volume': volume,
  });
}