setPlaybackDeviceMute abstract method

Future<void> setPlaybackDeviceMute(
  1. bool mute
)

Mutes the audio playback device.

  • mute Whether to mute the audio playback device: true : Mute the audio playback device. false : Unmute the audio playback device.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> setPlaybackDeviceMute(bool mute);