onReceiveCall method

void onReceiveCall(
  1. String userId,
  2. String callId,
  3. ChatCallKitCallType callType,
  4. Map<String, String>? ext,
)

Callback when you receive a call invitation.

Implementation

void onReceiveCall(
  String userId,
  String callId,
  ChatCallKitCallType callType,
  Map<String, String>? ext,
) {}