AgoraRtmLocalInvitationErrorCode Constants Reference

Declared in AgoraRtmCallKit.h

AgoraRtmLocalInvitationErrorCode

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

Definition

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

Constants

AgoraRtmLocalInvitationErrorOk

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

Declared In AgoraRtmCallKit.h.

AgoraRtmLocalInvitationErrorRemoteOffline

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.

AgoraRtmLocalInvitationErrorRemoteNoResponse

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.

AgoraRtmLocalInvitationErrorExpire

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.

AgoraRtmLocalInvitationErrorNotLoggedIn

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

Declared In AgoraRtmCallKit.h.

Declared In

AgoraRtmCallKit.h