@API(status=EXPERIMENTAL) public enum ActivityType extends java.lang.Enum<ActivityType>
Enum Constant and Description |
---|
COMMAND
Message sent in the chat.
|
FORM
Form submitted.
|
USER_JOINED_ROOM
User joined room.
|
Modifier and Type | Method and Description |
---|---|
static ActivityType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActivityType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivityType COMMAND
public static final ActivityType FORM
public static final ActivityType USER_JOINED_ROOM
public static ActivityType[] values()
for (ActivityType c : ActivityType.values()) System.out.println(c);
public static ActivityType 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