isUserAudioMuted static method

Future<bool?> isUserAudioMuted({
  1. String? userJid,
})

Checks if the user's audio is muted during a call.

This method asynchronously queries the platform to determine if the audio of the user identified by userJid is muted during an ongoing call.

Returns a Future that completes with a bool value indicating whether the user's audio is muted (true) or not (false).

If userJid is provided, the method checks the audio mute status for the specified user. If userJid is null, it checks the audio mute status for the current user.

Implementation

static Future<bool?> isUserAudioMuted({String? userJid}) async {
  return FlyChatFlutterPlatform.instance.isUserAudioMuted(userJid);
}