public final class OccupantEvent extends EventObject
OccupantListener,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
OccupantEvent.Type
The type of the occupant event.
|
| Modifier and Type | Method and Description |
|---|---|
Actor |
getActor()
Gets the actor in case the occupant was kicked or banned from the room.
|
Jid |
getAlternativeRoom()
Gets the alternative room address in case the old room has been destroyed.
|
Occupant |
getOccupant()
Gets the occupant.
|
String |
getReason()
Gets the reason for kicking or banning an occupant or for destroying the room.
|
OccupantEvent.Type |
getType()
Gets the type of this event.
|
getSource, toStringpublic Occupant getOccupant()
public OccupantEvent.Type getType()
public Actor getActor()
public String getReason()
public Jid getAlternativeRoom()
OccupantEvent.Type.ROOM_DESTROYEDCopyright © 2014–2015 XMPP.rocks. All rights reserved.