Browse SDKs · Flutter
Platform
SDKsFlutterEnterprise

Reject a call

Decline an incoming call invitation before answering.

Copy

When an invitee receives a call invitation and decides not to answer, call this method to decline the invitation:

Parameters

ParameterTypeRequiredDescription
infoSignalingInfoYesThe complete signaling object received in the invitation callback. Pass the original object rather than reconstructing one from roomID.

Code example

await OpenIM.iMManager.signalingManager
    .signalingReject(info: receivedInfo);

Return value

A successful Future indicates that the rejection signaling request has been received by the server.

State changes after the call

The client should dismiss the incoming call dialog and release any unallocated media resources associated with roomID. The initiator updates its outgoing call UI upon receiving the rejection event (see Handle call events for complete event handling).