SDKsReact NativeEnterprise
Cancel a call invitation
Cancel a call invitation with OpenIM React Native SDK.
Before the call connects, the inviter can call signalingCancel() to cancel the invitation.
await OpenIMSDK.signalingCancel({
opUserID: currentUserID,
invitation,
});opUserID is the user ID that cancels the invitation. Use the complete RtcInvite object saved when the call was initiated for invitation.
After the call returns, the cancellation request is complete. Invitees receive the cancellation through OnInvitationCancelled; use invitation.roomID in its callback to identify the call. For event parameters and listeners, see Handle call events.
Was this page helpful?