public static enum ChatRoomKickOutEvent.ChatRoomKickOutReason extends java.lang.Enum<ChatRoomKickOutEvent.ChatRoomKickOutReason>
Enum Constant and Description |
---|
BE_BLACKLISTED
added to the blacklist
|
CHAT_ROOM_INVALID
Chat room dismissed
|
ILLEGAL_STAT
Connection error
|
KICK_OUT_BY_CONFLICT_LOGIN
Invalided by logins on other devices
|
KICK_OUT_BY_MANAGER
Removed by administrators
|
UNKNOWN
Unknown (error)
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static ChatRoomKickOutEvent.ChatRoomKickOutReason |
typeOfValue(int value) |
static ChatRoomKickOutEvent.ChatRoomKickOutReason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ChatRoomKickOutEvent.ChatRoomKickOutReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getValue()
public static ChatRoomKickOutEvent.ChatRoomKickOutReason typeOfValue(int value)