onCallInvitationCancelled property

(void Function(ZIM zim, ZIMCallInvitationCancelledInfo info, String callID)?) onCallInvitationCancelled
getter/setter pair

Supported versions: 2.0.0 and above.

Detail description: After the inviter cancels the call invitation, this callback will be received when the invitee is online.

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

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

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

Related interface: ZIM.callCancel.

zim ZIM instance. info Information about canceled call invitations. callID Cancelled callID.

Implementation

static void Function(
        ZIM zim, ZIMCallInvitationCancelledInfo info, String callID)?
    onCallInvitationCancelled;