setInEarMonitoringVolume abstract method

Future<void> setInEarMonitoringVolume(
  1. int volume
)

Sets the in-ear monitoring volume.

  • volume Volume, range is 0,400. 0: Mute. 100: (default) Original volume. 400: 4 times the original volume, with overflow protection.

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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> setInEarMonitoringVolume(int volume);