public enum QChatKickOutReason extends java.lang.Enum<QChatKickOutReason>
枚举常量和说明 |
---|
KICK_BY_OTHER_PLATFORM
被同时在线的其他端踢掉
|
KICK_BY_SAME_PLATFORM
相同类型终端登录时被踢
|
KICK_BY_SERVER
管理后台禁止登录
|
UNKNOWN
未知(出错情况)
|
限定符和类型 | 方法和说明 |
---|---|
int |
getValue() |
static QChatKickOutReason |
typeOfValue(int value) |
static QChatKickOutReason |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static QChatKickOutReason[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final QChatKickOutReason UNKNOWN
public static final QChatKickOutReason KICK_BY_SAME_PLATFORM
public static final QChatKickOutReason KICK_BY_SERVER
public static final QChatKickOutReason KICK_BY_OTHER_PLATFORM
public static QChatKickOutReason[] values()
for (QChatKickOutReason c : QChatKickOutReason.values()) System.out.println(c);
public static QChatKickOutReason valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getValue()
public static QChatKickOutReason typeOfValue(int value)