public final class RoomInformation
extends java.lang.Object
Represents information about a chat room.
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 |
---|---|
java.util.List<Jid> |
getContacts()
Gets the contact addresses (normally, room owner or owners).
|
java.lang.Integer |
getCurrentNumberOfOccupants()
Gets the current number of occupants in the room.
|
java.lang.String |
getDescription()
Gets a short description.
|
java.util.Locale |
getLanguage()
Gets the natural language for room discussions.
|
java.lang.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.
|
java.net.URL |
getLogs()
Gets an URL for archived discussion logs.
|
int |
getMaxHistoryMessages()
Gets the maximum number of history messages returned by the room.
|
java.lang.String |
getName()
Gets the name of the room.
|
java.lang.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 java.lang.String getName()
Gets the name of the room.
public int getMaxHistoryMessages()
Gets the maximum number of history messages returned by the room.
public java.util.List<Jid> getContacts()
Gets the contact addresses (normally, room owner or owners).
public java.lang.String getDescription()
Gets a short description.
public java.util.Locale getLanguage()
Gets the natural language for room discussions.
public java.lang.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.
public java.net.URL getLogs()
Gets an URL for archived discussion logs.
public java.lang.Integer getCurrentNumberOfOccupants()
Gets the current number of occupants in the room.
public java.lang.String getSubject()
Gets the current discussion topic.
public boolean isChangeSubjectAllowed()
Indicates, whether the room subject can be modified by participants.
public boolean isHidden()
Hidden room.
public boolean isMembersOnly()
Members-only room.
public boolean isModerated()
Moderated room.
public boolean isNonAnonymous()
Non-anonymous room.
public boolean isOpen()
Open room.
public boolean isPasswordProtected()
Password-protected room.
public boolean isPersistent()
Persistent room.
public boolean isPublic()
Public room.
public boolean isSemiAnonymous()
Semi-anonymous room.
public boolean isTemporary()
Temporary room.
public boolean isUnmoderated()
Unmoderated room.
public boolean isUnsecured()
Unsecured room.
Copyright © 2014–2019 XMPP.rocks. All rights reserved.