ios_getAudioCaptureDeviceMute method

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

@platform ios @detail api @author dixing @brief 获取当前音频采集设备是否静音的信息。 @param mute
- true:静音 - false:非静音 @return 方法调用结果
- 0:方法调用成功 - < 0:方法调用失败

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}');
  }
}