mute abstract method

Future<void> mute(
  1. bool muted
)

Sets whether to mute the media file.

  • muted Whether to mute the media file: true : Mute the media file. false : (Default) Unmute the media file.

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> mute(bool muted);