public class MucConfigFormManager
extends java.lang.Object
Form used to
configure rooms.
Room configuration needs either be done right after the room is created and still locked. Or at
any later point (see XEP-45 ยง 10.2
Subsequent Room Configuration). When done with the configuration, call
submitConfigurationForm().
The manager may not provide all possible configuration options. If you want direct access to the
configuraiton form, use MultiUserChat.getConfigurationForm() and
MultiUserChat.sendConfigurationForm(Form).
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MUC_ROOMCONFIG_ROOMOWNERS |
| Modifier and Type | Method and Description |
|---|---|
MucConfigFormManager |
setRoomOwners(java.util.Collection<? extends org.jxmpp.jid.Jid> newOwners) |
void |
submitConfigurationForm() |
boolean |
supportsRoomOwners() |
public static final java.lang.String MUC_ROOMCONFIG_ROOMOWNERS
public boolean supportsRoomOwners()
public MucConfigFormManager setRoomOwners(java.util.Collection<? extends org.jxmpp.jid.Jid> newOwners) throws MultiUserChatException.MucConfigurationNotSupportedException
public void submitConfigurationForm()
throws org.jivesoftware.smack.SmackException.NoResponseException,
org.jivesoftware.smack.XMPPException.XMPPErrorException,
org.jivesoftware.smack.SmackException.NotConnectedException,
java.lang.InterruptedException
org.jivesoftware.smack.SmackException.NoResponseExceptionorg.jivesoftware.smack.XMPPException.XMPPErrorExceptionorg.jivesoftware.smack.SmackException.NotConnectedExceptionjava.lang.InterruptedException