public final class RoomInformation extends Object
This class wraps the service discovery information result, which usually consists of identities, features and extended forms into one class, so that a developer doesn't have to deal with the complex structure of the service discovery result.
| Modifier and Type | Method and Description |
|---|---|
List<Jid> |
getContacts()
Gets the contact addresses (normally, room owner or owners).
|
Integer |
getCurrentNumberOfOccupants()
Gets the current number of occupants in the room.
|
String |
getDescription()
Gets a short description.
|
String |
getLanguage()
Gets the natural language for room discussions.
|
String |
getLdapGroup()
Gets an associated LDAP group that defines
room membership; this should be an LDAP
Distinguished Name according to an
implementation-specific or
deployment-specific definition of a
group.
|
URL |
getLogs()
Gets an URL for archived discussion logs.
|
int |
getMaxHistoryMessages()
Gets the maximum number of history messages returned by the room.
|
String |
getName()
Gets the name of the room.
|
String |
getSubject()
Gets the current discussion topic.
|
boolean |
isChangeSubjectAllowed()
Indicates, whether the room subject can be modified by participants.
|
boolean |
isHidden()
Hidden room.
|
boolean |
isMembersOnly()
Members-only room.
|
boolean |
isModerated()
Moderated room.
|
boolean |
isNonAnonymous()
Non-anonymous room.
|
boolean |
isOpen()
Open room.
|
boolean |
isPasswordProtected()
Password-protected room.
|
boolean |
isPersistent()
Persistent room.
|
boolean |
isPublic()
Public room.
|
boolean |
isSemiAnonymous()
Semi-anonymous room.
|
boolean |
isTemporary()
Temporary room.
|
boolean |
isUnmoderated()
Unmoderated room.
|
boolean |
isUnsecured()
Unsecured room.
|
public String getName()
public int getMaxHistoryMessages()
public List<Jid> getContacts()
public String getDescription()
public String getLanguage()
public String getLdapGroup()
public URL getLogs()
public Integer getCurrentNumberOfOccupants()
public String getSubject()
public boolean isChangeSubjectAllowed()
public boolean isHidden()
public boolean isMembersOnly()
public boolean isModerated()
public boolean isNonAnonymous()
public boolean isOpen()
public boolean isPasswordProtected()
public boolean isPersistent()
public boolean isPublic()
public boolean isSemiAnonymous()
public boolean isTemporary()
public boolean isUnmoderated()
public boolean isUnsecured()
Copyright © 2014–2015 XMPP.rocks. All rights reserved.