public enum ActionType extends Enum<ActionType>
| Enum Constant and Description |
|---|
FINDLOCATION |
RECORDAUDIO |
RECORDVIDEO |
TYPING |
UPLOADAUDIO |
UPLOADDOCUMENT |
UPLOADPHOTO |
UPLOADVIDEO |
| Modifier and Type | Method and Description |
|---|---|
static ActionType |
get(String text) |
String |
toString() |
static ActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionType TYPING
public static final ActionType RECORDVIDEO
public static final ActionType RECORDAUDIO
public static final ActionType UPLOADPHOTO
public static final ActionType UPLOADVIDEO
public static final ActionType UPLOADAUDIO
public static final ActionType UPLOADDOCUMENT
public static final ActionType FINDLOCATION
public static ActionType[] values()
for (ActionType c : ActionType.values()) System.out.println(c);
public static ActionType 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 toString()
toString in class Enum<ActionType>public static ActionType get(String text)
Copyright © 2016. All rights reserved.