public static enum MessengerThreadParams.Origin extends java.lang.Enum<MessengerThreadParams.Origin>
| Enum Constant and Description |
|---|
COMPOSE_FLOW
The user clicked an app shortcut in Messenger.
|
REPLY_FLOW
The user clicked on a reply link in Messenger to a particular message.
|
UNKNOWN
The user came from a flow that was not known at the time this code was written.
|
| Modifier and Type | Method and Description |
|---|---|
static MessengerThreadParams.Origin |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MessengerThreadParams.Origin[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessengerThreadParams.Origin REPLY_FLOW
public static final MessengerThreadParams.Origin COMPOSE_FLOW
public static final MessengerThreadParams.Origin UNKNOWN
public static MessengerThreadParams.Origin[] values()
for (MessengerThreadParams.Origin c : MessengerThreadParams.Origin.values()) System.out.println(c);
public static MessengerThreadParams.Origin 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 null