public enum TwitterCallToActionType extends java.lang.Enum<TwitterCallToActionType>
| Enum Constant and Description |
|---|
VISIT_SITE |
WATCH_NOW |
| Modifier and Type | Method and Description |
|---|---|
static TwitterCallToActionType |
getCallToAction(java.lang.String name) |
static TwitterCallToActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TwitterCallToActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TwitterCallToActionType VISIT_SITE
public static final TwitterCallToActionType WATCH_NOW
public static TwitterCallToActionType[] values()
for (TwitterCallToActionType c : TwitterCallToActionType.values()) System.out.println(c);
public static TwitterCallToActionType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TwitterCallToActionType getCallToAction(java.lang.String name)