ios_getAudioPlaybackDeviceMute method

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

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

Implementation

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

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