public final class XDataManager extends Manager
Modifier and Type | Field and Description |
---|---|
static 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, schedule
public static final 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, InterruptedException
jid
- the JID of the entity to check.SmackException.NoResponseException
XMPPException.XMPPErrorException
SmackException.NotConnectedException
InterruptedException