AgoraRtmLoginErrorCode Constants Reference

Declared in AgoraRtmKit.h

AgoraRtmLoginErrorCode

Error codes related to login.

Constants

AgoraRtmLoginErrorOk

0: Login succeeds. No error occurs.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorUnknown

1: Login fails for reasons unknown.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorRejected

2: Login is rejected by the server.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorInvalidArgument

3: Invalid login arguments.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorInvalidAppId

4: The App ID is invalid.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorInvalidToken

5: The token is invalid.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorTokenExpired

6: The token has expired, and hence login is rejected.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorNotAuthorized

7: Unauthorized login.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorAlreadyLogin

8: The user has already logged in or is logging in the Agora RTM system, or the user has not called the logoutWithCompletion method to leave the AgoraRtmConnectionStateAborted state.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorTimeout

9: The login times out. The current timeout is set as 12 seconds.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorLoginTooOften

10: The call frequency of the loginByToken method exceeds the limit of two queries per second.

Declared In AgoraRtmKit.h.

AgoraRtmLoginErrorLoginNotInitialized

101: The SDK is not initialized.

Declared In AgoraRtmKit.h.

Declared In

AgoraRtmKit.h