public static enum OccupantEvent.Type extends java.lang.Enum<OccupantEvent.Type>
The type of the occupant event.
Enum Constant and Description |
---|
BANNED
The occupant got banned by an admin.
|
ENTERED
The occupant has entered the room.
|
EXITED
The occupant has exited the room in a normal way.
|
KICKED
The occupant got kicked out of the room by a moderator.
|
MEMBERSHIP_REVOKED
The occupant has exited the room, because he's no longer a member of the room.
|
NICKNAME_CHANGED
The occupant has exited the room, because he changed his nickname.
|
ROOM_BECAME_MEMBERS_ONLY
The occupant has exited the room, because the room became member's only.
|
ROOM_DESTROYED
The occupant has exited because the room got destroyed by the owner.
|
STATUS_CHANGED
The occupants has changed his or her presence status.
|
SYSTEM_SHUTDOWN
The occupant has exited the room, because the system was shutdown.
|
Modifier and Type | Method and Description |
---|---|
static OccupantEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OccupantEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OccupantEvent.Type ENTERED
public static final OccupantEvent.Type EXITED
public static final OccupantEvent.Type STATUS_CHANGED
public static final OccupantEvent.Type KICKED
public static final OccupantEvent.Type BANNED
public static final OccupantEvent.Type MEMBERSHIP_REVOKED
public static final OccupantEvent.Type ROOM_BECAME_MEMBERS_ONLY
public static final OccupantEvent.Type NICKNAME_CHANGED
public static final OccupantEvent.Type SYSTEM_SHUTDOWN
public static final OccupantEvent.Type ROOM_DESTROYED
public static OccupantEvent.Type[] values()
for (OccupantEvent.Type c : OccupantEvent.Type.values()) System.out.println(c);
public static OccupantEvent.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 nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.