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