AgoraRtmLocalInvitationErrorCode Constants Reference

Declared in AgoraRtmCallKit.h


RETURNED TO THE CALLER. Error codes of an outgoing call invitation.


typedef NS_ENUM(NSInteger, AgoraRtmLocalInvitationErrorCode ) {
   AgoraRtmLocalInvitationErrorOk = 0,
   AgoraRtmLocalInvitationErrorRemoteOffline = 1,
   AgoraRtmLocalInvitationErrorRemoteNoResponse = 2,
   AgoraRtmLocalInvitationErrorExpire = 3,
   AgoraRtmLocalInvitationErrorNotLoggedIn = 4,



0: RETURNED TO THE CALLER. The outgoing call invitation succeeds.

Declared In AgoraRtmCallKit.h.


1: RETURNED TO THE CALLER. The callee is offline.

The SDK:

  • Keeps resending the call invitation to the callee, if he or she is offline.
  • Returns this error code, if he or she is still offline 30 seconds since the call invitation is sent.

Declared In AgoraRtmCallKit.h.


2: RETURNED TO THE CALLER. The callee is online but has not ACKed to the call invitation 30 seconds since it is sent.

Declared In AgoraRtmCallKit.h.


3: RETURNED TO THE CALLER. SAVED FOR FUTURE USE. The call invitation expires 60 seconds since it is sent, if the callee ACKs to the call invitation but neither the caller or callee takes any further action (cancel, accpet, or decline it).

Declared In AgoraRtmCallKit.h.


4: RETURNED TO THE CALLER. The caller is not logged in.

Declared In AgoraRtmCallKit.h.

Declared In