AgoraRtmRenewTokenErrorCode Constants Reference
| Declared in | AgoraRtmKit.h |
|---|
AgoraRtmRenewTokenErrorCode
Error codes related to renewing the token.
Definition
typedef NS_ENUM(NSInteger, AgoraRtmRenewTokenErrorCode ) {
AgoraRtmRenewTokenErrorOk = 0,
AgoraRtmRenewTokenErrorFailure = 1,
AgoraRtmRenewTokenErrorInvalidArgument = 2,
AgoraRtmRenewTokenErrorRejected = 3,
AgoraRtmRenewTokenErrorTooOften = 4,
AgoraRtmRenewTokenErrorTokenExpired = 5,
AgoraRtmRenewTokenErrorInvalidToken = 6,
AgoraRtmRenewTokenErrorNotInitialized = 101,
AgoraRtmRenewTokenErrorNotLoggedIn = 102,
};
Constants
-
AgoraRtmRenewTokenErrorOk -
0: The token-renewing operation succeeds.
Declared In
AgoraRtmKit.h. -
AgoraRtmRenewTokenErrorFailure -
1: Common unknown failure.
Declared In
AgoraRtmKit.h. -
AgoraRtmRenewTokenErrorInvalidArgument -
2: The method call fails. The argument is invalid.
Declared In
AgoraRtmKit.h. -
AgoraRtmRenewTokenErrorRejected -
3: RESERVED FOR FUTURE USE
Declared In
AgoraRtmKit.h. -
AgoraRtmRenewTokenErrorTooOften -
4: The method call frequency of exceeds the limit of two queries per second.
Declared In
AgoraRtmKit.h. -
AgoraRtmRenewTokenErrorTokenExpired -
5: The token has expired.
Declared In
AgoraRtmKit.h. -
AgoraRtmRenewTokenErrorInvalidToken -
6: The token is invalid.
Declared In
AgoraRtmKit.h. -
AgoraRtmRenewTokenErrorNotInitialized -
101: The SDK is not initialized.
Declared In
AgoraRtmKit.h. -
AgoraRtmRenewTokenErrorNotLoggedIn -
102: The user does not call the loginByToken method, or the method call of loginByToken does not succeed before renewing the token.
Declared In
AgoraRtmKit.h.
Declared In
AgoraRtmKit.h