Modifier and Type | Method and Description |
---|---|
List<EntityBareJid> |
getContactJids()
Returns Contact Addresses as JIDs, if such are reported.
|
String |
getDescription()
Returns the discovered description of the room.
|
Form |
getForm()
Returns the form included in the extended disco info result or
null if no such form was sent. |
String |
getLang()
Returns the natural language of the room discussion, or
null . |
String |
getLdapGroup()
Returns an associated LDAP group that defines room membership.
|
URL |
getLogsUrl()
Returns the URL where archived discussion logs can be found or
null if there is no such URL. |
int |
getMaxHistoryFetch()
Returns the maximum number of history messages which are returned by the
room or '-1' if this property is not reported by the room.
|
String |
getName()
Returns the room name.
|
int |
getOccupantsCount()
Returns the discovered number of occupants that are currently in the room.
|
String |
getPubSub()
An associated pubsub node for this room or
null . |
EntityBareJid |
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.
|
Boolean |
isSubjectModifiable()
Returns an Boolean instance with the value 'true' if the subject can be
modified by the room participants, 'false' if not, or
null
if this information is reported by the room. |
public EntityBareJid getRoom()
public String getName()
The name returnd here was provided as value of the name attribute of the returned identity within the disco#info result.
public String getDescription()
The description returned by this method was provided as value of the form
field of the extended disco info result. It may be null
.
public String getSubject()
public int getOccupantsCount()
public boolean isMembersOnly()
public boolean isModerated()
public boolean isNonanonymous()
public boolean isPasswordProtected()
public boolean isPersistent()
public int getMaxHistoryFetch()
public List<EntityBareJid> getContactJids()
public String getLang()
null
.null
.public String getLdapGroup()
null
public Boolean isSubjectModifiable()
null
if this information is reported by the room.null
public String getPubSub()
null
.null
public URL getLogsUrl()
null
if there is no such URL.null
public Form getForm()
null
if no such form was sent.null