ios_getAudioCaptureDeviceMute method

Future<int?> ios_getAudioCaptureDeviceMute(
  1. bool mute
)

@platform ios @detail api @author dixing @brief Gets information about the mute state of the current audio capture device. @param mute
- true: Mute - false: Speaking @return Method call result
- 0: Success. - < 0: failure

Implementation

Future<int?> ios_getAudioCaptureDeviceMute(bool mute) async {
  $() => ($instance as $p_i.ByteRTCAudioDeviceManager)
      .getAudioCaptureDeviceMute(mute);

  if (Platform.isIOS) {
    return $();
  } else {
    throw UnsupportedError(
        'Not Support Platform ${Platform.operatingSystem}');
  }
}