AgoraRtmGetMembersErrorCode Constants Reference
Declared in | AgoraRtmKit.h |
---|
AgoraRtmGetMembersErrorCode
获取频道成员列表的相关错误码。
Definition
typedef NS_ENUM(NSInteger, AgoraRtmGetMembersErrorCode ) {
AgoraRtmGetMembersErrorOk = 0,
AgoraRtmGetMembersErrorFailure = 1,
AgoraRtmGetMembersErrorRejected = 2,
AgoraRtmGetMembersErrorTimeout = 3,
AgoraRtmGetMembersErrorTooOften = 4,
AgoraRtmGetMembersErrorNotInChannel = 5,
AgoraRtmGetMembersErrorNotInitialized = 101,
AgoraRtmGetMembersErrorNotLoggedIn = 102,
};
Constants
AgoraRtmGetMembersErrorOk
-
0: 频道成员列表获取成功。
Declared In
AgoraRtmKit.h
. AgoraRtmGetMembersErrorFailure
-
1: 频道成员列表获取失败。
Declared In
AgoraRtmKit.h
. AgoraRtmGetMembersErrorRejected
-
2: 预留错误码
Declared In
AgoraRtmKit.h
. AgoraRtmGetMembersErrorTimeout
-
3: 获取频道内成员列表超时。当前的超时设置为 5 秒。可能原因:用户正处于
AgoraRtmConnectionStateAborted
状态或AgoraRtmConnectionStateReconnecting
状态。Declared In
AgoraRtmKit.h
. AgoraRtmGetMembersErrorTooOften
-
4: 方法调用频率超过 5 次每 2 秒的上限。
Declared In
AgoraRtmKit.h
. AgoraRtmGetMembersErrorNotInChannel
-
5: 用户不在频道内。
Declared In
AgoraRtmKit.h
. AgoraRtmGetMembersErrorNotInitialized
-
101: SDK 未完成初始化。
Declared In
AgoraRtmKit.h
. AgoraRtmGetMembersErrorNotLoggedIn
-
102: 获取频道成员列表前未调用 loginByToken 方法或者 loginByToken 方法调用未成功。
Declared In
AgoraRtmKit.h
.
Declared In
AgoraRtmKit.h