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