setPlaybackDeviceMute abstract method

Future<void> setPlaybackDeviceMute(
  1. bool mute
)

Sets the playback device to mute.

  • mute Whether to mute the playback device: true : Mute the playback device. false : Do not mute the 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. See Error Codes for details and resolution suggestions.

Implementation

Future<void> setPlaybackDeviceMute(bool mute);