callCancel abstract method

Future<ZIMCallCancelSentResult> callCancel(
  1. List<String> invitees,
  2. String callID,
  3. ZIMCallCancelConfig config
)

Cancel the call invitation.

Available since: 2.0.0 and above. Description: After the caller initiates a call invitation, the call invitation can be canceled through this interface before the timeout period. Use cases: When you need to cancel the call invitation initiated before, you can cancel the call invitation through this interface. When to call: It can be called after creating a ZIM instance through create. Caution: Canceling the call invitation after the timeout period of the call invitation expires will fail. Related callbacks: ZIMCallCancelSentResult.

  • invitees The list of invitee user IDs to cancel the invitation for.
  • callID The call invitation ID to cancel.
  • config Call cancel configuration.

Implementation

Future<ZIMCallCancelSentResult> callCancel(
  List<String> invitees,
  String callID,
  ZIMCallCancelConfig config,
);