public static enum RowItem.Type extends java.lang.Enum<RowItem.Type>
Enum Constant and Description |
---|
AGENT_ATTACHMENT |
AGENT_MESSAGE |
AGENT_OPTIONS |
AGENT_TYPING |
CHAT_EVENT |
CHAT_RATING |
MEMBER_EVENT |
UNKNOWN |
VISITOR_ATTACHMENT |
VISITOR_MESSAGE |
Modifier and Type | Method and Description |
---|---|
static RowItem.Type |
getType(int type)
Gets type of this row item based on the provided parameter.
|
int |
getValue()
Gets value of this row type enum
|
static RowItem.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RowItem.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RowItem.Type UNKNOWN
public static final RowItem.Type VISITOR_MESSAGE
public static final RowItem.Type VISITOR_ATTACHMENT
public static final RowItem.Type AGENT_MESSAGE
public static final RowItem.Type AGENT_TYPING
public static final RowItem.Type AGENT_ATTACHMENT
public static final RowItem.Type AGENT_OPTIONS
public static final RowItem.Type CHAT_EVENT
public static final RowItem.Type MEMBER_EVENT
public static final RowItem.Type CHAT_RATING
public static RowItem.Type[] values()
for (RowItem.Type c : RowItem.Type.values()) System.out.println(c);
public static RowItem.Type 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 int getValue()
public static RowItem.Type getType(int type)
type
-