setEarMonitorVolume method

FutureOr<int> setEarMonitorVolume(
  1. NSInteger volume
)

@detail api @author majun.lvhiei @brief Sets the in-ear monitoring volume. @param volume The monitoring volume with the adjustment range between 0% and 100%. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details. @note Call setEarMonitorMode:{@link #ByteRTCEngine#setEarMonitorMode} before setting the volume.

Implementation

FutureOr<int> setEarMonitorVolume(NSInteger volume) async {
  return await nativeCall('setEarMonitorVolume:', [volume]);
}