startSingleCall static method

Future<String> startSingleCall(
  1. String userId, {
  2. String? inviteMessage,
  3. ChatCallKitCallType type = ChatCallKitCallType.audio_1v1,
  4. Map<String, String>? ext,
})

Initiate a 1v1 call.

Param userId called user id.

Param type call type, see ChatCallKitCallType.

Param ext additional information.

Implementation

static Future<String> startSingleCall(
  String userId, {
  String? inviteMessage,
  ChatCallKitCallType type = ChatCallKitCallType.audio_1v1,
  Map<String, String>? ext,
}) {
  tools.log("ChatCallKitManager:startSingleCall called, userId: $userId, type: $type, ext: $ext, inviteMessage: $inviteMessage");
  return _impl.startSingleCall(userId,
      type: type, ext: ext, inviteMessage: inviteMessage);
}