AgoraRtmRenewTokenErrorCode Constants Reference
| Declared in | AgoraRtmKit.h |
|---|
AgoraRtmRenewTokenErrorCode
更新 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:更新 Token 成功。
Declared In
AgoraRtmKit.h. AgoraRtmRenewTokenErrorFailure-
1:更新 Token 失败。
Declared In
AgoraRtmKit.h. AgoraRtmRenewTokenErrorInvalidArgument-
2:无效参数。
Declared In
AgoraRtmKit.h. AgoraRtmRenewTokenErrorRejected-
3:预留错误码
Declared In
AgoraRtmKit.h. AgoraRtmRenewTokenErrorTooOften-
4:方法调用过于频繁。超过 2 次每秒上限。
Declared In
AgoraRtmKit.h. AgoraRtmRenewTokenErrorTokenExpired-
5:输入 Token 已过期。
Declared In
AgoraRtmKit.h. AgoraRtmRenewTokenErrorInvalidToken-
6:输入 Token 无效。
Declared In
AgoraRtmKit.h. AgoraRtmRenewTokenErrorNotInitialized-
101: SDK 未完成初始化。
Declared In
AgoraRtmKit.h. AgoraRtmRenewTokenErrorNotLoggedIn-
102: 更新 Token 前未调用 loginByToken 方法或者 loginByToken 方法调用未成功。
Declared In
AgoraRtmKit.h.
Declared In
AgoraRtmKit.h
