|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jivesoftware.smackx.muc.RoomInfo
public class RoomInfo
Represents the room information that was discovered using Service Discovery. It's possible to obtain information about a room before joining the room but only for rooms that are public (i.e. rooms that may be discovered).
Method Summary | |
---|---|
String |
getDescription()
Returns the discovered description of the room. |
int |
getOccupantsCount()
Returns the discovered number of occupants that are currently in the room. |
String |
getRoom()
Returns the JID of the room whose information was discovered. |
String |
getSubject()
Returns the discovered subject of the room. |
boolean |
isMembersOnly()
Returns true if the room has restricted the access so that only members may enter the room. |
boolean |
isModerated()
Returns true if the room enabled only participants to speak. |
boolean |
isNonanonymous()
Returns true if presence packets will include the JID of every occupant. |
boolean |
isPasswordProtected()
Returns true if users musy provide a valid password in order to join the room. |
boolean |
isPersistent()
Returns true if the room will persist after the last occupant have left the room. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getRoom()
public String getDescription()
public String getSubject()
public int getOccupantsCount()
public boolean isMembersOnly()
public boolean isModerated()
public boolean isNonanonymous()
public boolean isPasswordProtected()
public boolean isPersistent()
|
Smack | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |