public enum ButtonType extends Enum<ButtonType>
| Enum Constant and Description |
|---|
ACCOUNT_LINK
The account link.
|
ACCOUNT_UNLINK
The account unlink.
|
ELEMENT_SHARE
The element share.
|
PAYMENT
The payment.
|
PHONE_NUMBER
The phone number.
|
POSTBACK
The postback.
|
WEB_URL
The web url.
|
| Modifier and Type | Method and Description |
|---|---|
static ButtonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ButtonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonType WEB_URL
public static final ButtonType POSTBACK
public static final ButtonType PHONE_NUMBER
public static final ButtonType ELEMENT_SHARE
public static final ButtonType ACCOUNT_LINK
public static final ButtonType ACCOUNT_UNLINK
public static final ButtonType PAYMENT
public static ButtonType[] values()
for (ButtonType c : ButtonType.values()) System.out.println(c);
public static ButtonType 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 nullCopyright © 2017 BotMill. All rights reserved.