Class XDataManager
java.lang.Object
org.jivesoftware.smack.Manager
org.jivesoftware.smackx.xdata.XDataManager
-
Nested Class Summary
Nested classes/interfaces inherited from class Manager
Manager.WithConnection -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic XDataManagergetInstanceFor(XMPPConnection connection) Get the XDataManager for the given XMPP connection.booleanisSupported(Jid jid) Check if the given entity supports data forms.Methods inherited from class Manager
connection, getAuthenticatedConnectionOrThrow, ignoreDisconnected, schedule, schedule, scheduleBlocking
-
Field Details
-
NAMESPACE
-
-
Method Details
-
getInstanceFor
Get the XDataManager for the given XMPP connection.- Parameters:
connection- the XMPPConnection.- Returns:
- the XDataManager
-
isSupported
public boolean isSupported(Jid jid) throws SmackException.NoResponseException, XMPPException.XMPPErrorException, SmackException.NotConnectedException, InterruptedException Check if the given entity supports data forms.- Parameters:
jid- the JID of the entity to check.- Returns:
- true if the entity supports data forms.
- Throws:
SmackException.NoResponseException- if there was no response from the remote entity.XMPPException.XMPPErrorException- if there was an XMPP error returned.SmackException.NotConnectedException- if the XMPP connection is not connected.InterruptedException- if the calling thread was interrupted.- Since:
- 4.1
- See Also:
-