makeGroupVoiceCall static method

Future<void> makeGroupVoiceCall({
  1. String groupJid = "",
  2. List<String> toUserJidList = const [],
  3. required dynamic flyCallBack(
    1. FlyResponse response
    ),
})

Initiates a group voice call using Mirrorfly.

Calls multiple users simultaneously by creating a group call.

groupJid The unique identifier for the group where the call will be made. jidList A list of unique identifiers for individual users to be called in the group.

Before initiating the voice call, this method checks for permissions to access the microphone. The flyCallBack parameter is a function that will be called upon completion of the operation. It receives a FlyResponse object as a parameter, which contains information about the success or failure of the operation.

Returns a Future

Implementation

static Future<void> makeGroupVoiceCall(
    {String groupJid = "",
    List<String> toUserJidList = const [],
    required Function(FlyResponse response) flyCallBack}) async {
  return FlyChatFlutterPlatform.instance
      .makeGroupVoiceCall(groupJid, toUserJidList, flyCallBack);
}