public static enum ChatMessage.LeaveReason extends Enum<ChatMessage.LeaveReason>
| Enum Constant and Description |
|---|
ADDED_MUST_BE_AUTHORIZED |
ADDER_MUST_BE_FRIEND |
UNSUBSCRIBE |
USER_INCAPABLE |
USER_NOT_FOUND
USER_NOT_FOUND - user was not found.
|
| Modifier and Type | Method and Description |
|---|---|
static ChatMessage.LeaveReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatMessage.LeaveReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatMessage.LeaveReason USER_NOT_FOUND
public static final ChatMessage.LeaveReason USER_INCAPABLE
public static final ChatMessage.LeaveReason ADDER_MUST_BE_FRIEND
public static final ChatMessage.LeaveReason ADDED_MUST_BE_AUTHORIZED
public static final ChatMessage.LeaveReason UNSUBSCRIBE
public static ChatMessage.LeaveReason[] values()
for (ChatMessage.LeaveReason c : ChatMessage.LeaveReason.values()) System.out.println(c);
public static ChatMessage.LeaveReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2013. All Rights Reserved.