public static enum PresenceMessage.Action extends java.lang.Enum<PresenceMessage.Action>
| Enum Constant and Description |
|---|
absent
A member is not present in the channel.
|
enter
A new member has entered the channel.
|
leave
A member who was present has now left the channel.
|
present
When subscribing to presence events on a channel that already has members present,
this event is emitted for every member already present on the channel before the subscribe listener was registered.
|
update
An already present member has updated their member data.
|
| Modifier and Type | Method and Description |
|---|---|
static PresenceMessage.Action |
findByValue(int value) |
int |
getValue() |
static PresenceMessage.Action |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PresenceMessage.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PresenceMessage.Action absent
Spec: TP2
public static final PresenceMessage.Action present
Spec: TP2
public static final PresenceMessage.Action enter
Spec: TP2
public static final PresenceMessage.Action leave
Spec: TP2
public static final PresenceMessage.Action update
Spec: TP2
public static PresenceMessage.Action[] values()
for (PresenceMessage.Action c : PresenceMessage.Action.values()) System.out.println(c);
public static PresenceMessage.Action 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 PresenceMessage.Action findByValue(int value)