SDKsAndroidEnterprise
Reject a call
Reject a call invitation with the Android SDK.
When the user declines an incoming call, pass the original SignalingInfo to signalingReject():
OpenIMClient.getInstance().signalingManager.signalingReject(
new OnBase<String>() {
@Override
public void onSuccess(String result) {
// The reject signaling request completed.
}
@Override
public void onError(int code, String error) {
// code and error describe the failure.
}
},
signalingInfo
);The success callback only means that the reject signaling request completed. The inviter later updates its interface through onInviteeRejected; see Handle call events.
Was this page helpful?