onCallInvitationReceived property

(void Function(ZIM zim, ZIMCallInvitationReceivedInfo info, String callID)?) onCallInvitationReceived
getter/setter pair

Supported versions: 2.0.0 and above.

Detail description: After the inviter initiates a call invitation, the invitee will receive this callback when the invitee is online.

Business scenario: The invitee will call this callback after the inviter sends a call invitation.

When to call: After creating a ZIM instance through ZIM.create.

Note: If the user is not in the invitation list or not online, this callback will not be called.

Related interface: ZIM.callInvite.

zim ZIM instance. info Information about received call invitations. callID Received CallID.

Implementation

static void Function(
        ZIM zim, ZIMCallInvitationReceivedInfo info, String callID)?
    onCallInvitationReceived;