public static enum Group.GroupMemberEvent extends java.lang.Enum<Group.GroupMemberEvent>
The group member event field of a member status submessage can contain a value of this enumerated type.
Group.FIELD_GROUP_MEMBER_EVENT| Enum Constant and Description |
|---|
DISCONNECTED
The member unexpectedly disconnected from the group server.
|
JOINED
The member joined the group, or is a member connected to the group server.
|
LEFT
The member left the group using an API call.
|
| Modifier and Type | Method and Description |
|---|---|
static Group.GroupMemberEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Group.GroupMemberEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Group.GroupMemberEvent JOINED
public static final Group.GroupMemberEvent LEFT
public static final Group.GroupMemberEvent DISCONNECTED
public static Group.GroupMemberEvent[] values()
for (Group.GroupMemberEvent c : Group.GroupMemberEvent.values()) System.out.println(c);
public static Group.GroupMemberEvent 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