public static enum ChatMessage.ChatMessageType extends Enum<ChatMessage.ChatMessageType>
Enum Constant and Description |
---|
CONTACT |
CUSTOM |
LOCATION |
PICTURE |
TEXT |
VIDEO |
Modifier and Type | Method and Description |
---|---|
static ChatMessage.ChatMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatMessage.ChatMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatMessage.ChatMessageType TEXT
public static final ChatMessage.ChatMessageType PICTURE
public static final ChatMessage.ChatMessageType LOCATION
public static final ChatMessage.ChatMessageType VIDEO
public static final ChatMessage.ChatMessageType CONTACT
public static final ChatMessage.ChatMessageType CUSTOM
public static ChatMessage.ChatMessageType[] values()
for (ChatMessage.ChatMessageType c : ChatMessage.ChatMessageType.values()) System.out.println(c);
public static ChatMessage.ChatMessageType 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