NIMSDK-AOS
10.5.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
enums
QChatKickOutReason.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.enums;
2
6
public
enum
QChatKickOutReason
{
10
UNKNOWN
(-1),
14
KICK_BY_SAME_PLATFORM
(1),
18
KICK_BY_SERVER
(2),
22
KICK_BY_OTHER_PLATFORM
(3),
23
;
24
25
private
int
value;
26
27
QChatKickOutReason
(
int
value) {
28
this.value = value;
29
}
30
31
public
int
getValue
() {
32
return
value;
33
}
34
35
public
static
QChatKickOutReason
typeOfValue
(
int
value) {
36
for
(
QChatKickOutReason
e : values()) {
37
if
(e.getValue() == value) {
38
return
e;
39
}
40
}
41
return
UNKNOWN;
42
}
43
}
com.netease.nimlib.sdk.qchat.enums.QChatKickOutReason.typeOfValue
static QChatKickOutReason typeOfValue(int value)
Definition:
QChatKickOutReason.java:35
com.netease.nimlib.sdk.qchat.enums.QChatKickOutReason
圈组被踢出原因
Definition:
QChatKickOutReason.java:6
com.netease.nimlib.sdk.qchat.enums.QChatKickOutReason.KICK_BY_SERVER
KICK_BY_SERVER
管理后台禁止登录
Definition:
QChatKickOutReason.java:18
com.netease.nimlib.sdk.qchat.enums.QChatKickOutReason.KICK_BY_SAME_PLATFORM
KICK_BY_SAME_PLATFORM
相同类型终端登录时被踢
Definition:
QChatKickOutReason.java:14
com.netease.nimlib.sdk.qchat.enums.QChatKickOutReason.getValue
int getValue()
Definition:
QChatKickOutReason.java:31
com.netease.nimlib.sdk.qchat.enums.QChatKickOutReason.QChatKickOutReason
QChatKickOutReason(int value)
Definition:
QChatKickOutReason.java:27
com.netease.nimlib.sdk.qchat.enums.QChatKickOutReason.UNKNOWN
UNKNOWN
未知(出错情况)
Definition:
QChatKickOutReason.java:10
com.netease.nimlib.sdk.qchat.enums.QChatKickOutReason.KICK_BY_OTHER_PLATFORM
KICK_BY_OTHER_PLATFORM
被同时在线的其他端踢掉
Definition:
QChatKickOutReason.java:22
生成于 2024年 十月 15日 星期二 18:40:26 , 为 NIMSDK-AOS使用
1.8.13