setAudioPlaybackDeviceMute method

FutureOr<int> setAudioPlaybackDeviceMute(
  1. bool mute
)

@detail api @author dixing @brief 设置当前音频播放设备静音状态,默认为非静音。 @param mute
- true:静音 - false:非静音 @return 方法调用结果
- 0:方法调用成功 - < 0:方法调用失败

Implementation

FutureOr<int> setAudioPlaybackDeviceMute(bool mute) async {
  return await nativeCall('setAudioPlaybackDeviceMute:', [mute]);
}