isSupported
public static boolean isSupported(java.lang.String jid,
org.jivesoftware.smack.XMPPConnection connection)
throws org.jivesoftware.smack.SmackException.NoResponseException,
org.jivesoftware.smack.XMPPException.XMPPErrorException,
org.jivesoftware.smack.SmackException.NotConnectedException
Returns true if the given entity understands the vCard-XML format and allows the exchange of such.
- Parameters:
jid
- connection
-
- Returns:
- true if the given entity understands the vCard-XML format and exchange.
- Throws:
org.jivesoftware.smack.XMPPException.XMPPErrorException
org.jivesoftware.smack.SmackException.NoResponseException
org.jivesoftware.smack.SmackException.NotConnectedException