public static enum ChatMessage.Status extends Enum<ChatMessage.Status>
| Enum Constant and Description |
|---|
READ |
RECEIVED |
SENDING
SENDING - message is being sent.
|
SENT |
| Modifier and Type | Method and Description |
|---|---|
static ChatMessage.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatMessage.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatMessage.Status SENDING
public static final ChatMessage.Status SENT
public static final ChatMessage.Status RECEIVED
public static final ChatMessage.Status READ
public static ChatMessage.Status[] values()
for (ChatMessage.Status c : ChatMessage.Status.values()) System.out.println(c);
public static ChatMessage.Status 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.