public final class XDataManager extends Manager
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAMESPACE
The value of
DataForm.NAMESPACE. |
| Modifier and Type | Method and Description |
|---|---|
static XDataManager |
getInstanceFor(XMPPConnection connection)
Get the XDataManager for the given XMPP connection.
|
boolean |
isSupported(org.jxmpp.jid.Jid jid)
Check if the given entity supports data forms.
|
connection, getAuthenticatedConnectionOrThrow, schedulepublic static final java.lang.String NAMESPACE
DataForm.NAMESPACE.public static XDataManager getInstanceFor(XMPPConnection connection)
connection - the XMPPConnection.public boolean isSupported(org.jxmpp.jid.Jid jid) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, java.lang.InterruptedException
jid - the JID of the entity to check.SmackException.NoResponseExceptionXMPPException.XMPPErrorExceptionSmackException.NotConnectedExceptionjava.lang.InterruptedException