NIMSDK-AOS
9.19.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
enums
QChatKickOutReason.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.enums;
2
3
/**
4
* 圈组被踢出原因
5
*/
6
public
enum
QChatKickOutReason
{
7
/**
8
* 未知(出错情况)
9
*/
10
UNKNOWN
(-1),
11
/**
12
* 相同类型终端登录时被踢
13
*/
14
KICK_BY_SAME_PLATFORM
(1),
15
/**
16
* 管理后台禁止登录
17
*/
18
KICK_BY_SERVER
(2),
19
/**
20
* 被同时在线的其他端踢掉
21
*/
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年 十月 16日 星期三 10:25:05 , 为 NIMSDK-AOS使用
1.8.13