Android SDK Version
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<MessengerThreadParams.Origin>
Enclosing class:

public static enum MessengerThreadParams.Origin
extends java.lang.Enum<MessengerThreadParams.Origin>
The origin of the flow that user originated from.
Enum Constant Summary
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.
Method Summary
Modifier and TypeMethod and Description
static MessengerThreadParams.OriginvalueOf(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.
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
Enum Constant Detail

REPLY_FLOW

public static final MessengerThreadParams.Origin REPLY_FLOW
The user clicked on a reply link in Messenger to a particular message.

COMPOSE_FLOW

public static final MessengerThreadParams.Origin COMPOSE_FLOW
The user clicked an app shortcut in Messenger.

UNKNOWN

public static final MessengerThreadParams.Origin UNKNOWN
The user came from a flow that was not known at the time this code was written.
Method Detail

values

public static MessengerThreadParams.Origin[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (MessengerThreadParams.Origin c : MessengerThreadParams.Origin.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MessengerThreadParams.Origin valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null