public enum ChatAction extends Enum<ChatAction>
Enum Constant and Description |
---|
FIND_LOCATION |
RECORD_AUDIO |
RECORD_VIDEO |
TYPING |
UPLOAD_AUDIO |
UPLOAD_DOCUMENT |
UPLOAD_PHOTO |
UPLOAD_VIDEO |
Modifier and Type | Method and Description |
---|---|
String |
getAction() |
static ChatAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChatAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChatAction TYPING
public static final ChatAction UPLOAD_PHOTO
public static final ChatAction RECORD_VIDEO
public static final ChatAction UPLOAD_VIDEO
public static final ChatAction RECORD_AUDIO
public static final ChatAction UPLOAD_AUDIO
public static final ChatAction UPLOAD_DOCUMENT
public static final ChatAction FIND_LOCATION
public static ChatAction[] values()
for (ChatAction c : ChatAction.values()) System.out.println(c);
public static ChatAction 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 nullpublic String getAction()