public final class SoftwareInfoManager
extends org.jivesoftware.smack.Manager
| Modifier and Type | Method and Description |
|---|---|
SoftwareInfoForm |
fromJid(org.jxmpp.jid.Jid jid)
Get Software Information from the provided XMPP address.
|
static SoftwareInfoManager |
getInstanceFor(org.jivesoftware.smack.XMPPConnection connection) |
void |
publishSoftwareInformationForm(SoftwareInfoForm softwareInfoForm)
Publishes the provided
SoftwareInfoForm as an extended info. |
public static SoftwareInfoManager getInstanceFor(org.jivesoftware.smack.XMPPConnection connection)
public void publishSoftwareInformationForm(SoftwareInfoForm softwareInfoForm)
SoftwareInfoForm as an extended info.
softwareInfoForm - form to be added as an extended infopublic SoftwareInfoForm fromJid(org.jxmpp.jid.Jid jid) throws org.jivesoftware.smack.SmackException.NoResponseException, org.jivesoftware.smack.XMPPException.XMPPErrorException, org.jivesoftware.smack.SmackException.NotConnectedException, java.lang.InterruptedException
null in case the queried entity does not announce that information.jid - jid to get software information fromSoftwareInfoForm Form containing software information or null.org.jivesoftware.smack.SmackException.NoResponseException - if there was no response from the remote entityorg.jivesoftware.smack.XMPPException.XMPPErrorException - if there was an XMPP error returnedorg.jivesoftware.smack.SmackException.NotConnectedException - if the XMPP connection is not connectedjava.lang.InterruptedException - if the calling thread was interrupted