public static enum ChatRoomKickOutEvent.ChatRoomKickOutReason extends java.lang.Enum<ChatRoomKickOutEvent.ChatRoomKickOutReason>
枚举常量和说明 |
---|
BE_BLACKLISTED
被加黑了
|
CHAT_ROOM_INVALID
聊天室已经被解散
|
ILLEGAL_STAT
当前连接状态异常
|
KICK_OUT_BY_CONFLICT_LOGIN
被其他端踢出
|
KICK_OUT_BY_MANAGER
被管理员踢出
|
UNKNOWN
未知(出错情况)
|
限定符和类型 | 方法和说明 |
---|---|
int |
getValue() |
static ChatRoomKickOutEvent.ChatRoomKickOutReason |
typeOfValue(int value) |
static ChatRoomKickOutEvent.ChatRoomKickOutReason |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ChatRoomKickOutEvent.ChatRoomKickOutReason[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ChatRoomKickOutEvent.ChatRoomKickOutReason UNKNOWN
public static final ChatRoomKickOutEvent.ChatRoomKickOutReason CHAT_ROOM_INVALID
public static final ChatRoomKickOutEvent.ChatRoomKickOutReason KICK_OUT_BY_MANAGER
public static final ChatRoomKickOutEvent.ChatRoomKickOutReason KICK_OUT_BY_CONFLICT_LOGIN
public static final ChatRoomKickOutEvent.ChatRoomKickOutReason ILLEGAL_STAT
public static final ChatRoomKickOutEvent.ChatRoomKickOutReason BE_BLACKLISTED
public static ChatRoomKickOutEvent.ChatRoomKickOutReason[] values()
for (ChatRoomKickOutEvent.ChatRoomKickOutReason c : ChatRoomKickOutEvent.ChatRoomKickOutReason.values()) System.out.println(c);
public static ChatRoomKickOutEvent.ChatRoomKickOutReason valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public int getValue()
public static ChatRoomKickOutEvent.ChatRoomKickOutReason typeOfValue(int value)