public final class VCardManager extends ExtensionManager
The use cases are also described in XEP-0054: vcard-temp in more detail.
| Modifier and Type | Method and Description |
|---|---|
VCard |
getVCard()
Gets the vCard of the current user.
|
VCard |
getVCard(Jid jid)
Gets the vCard of another user.
|
void |
setVCard(VCard vCard)
Saves or updates a vCard.
|
isEnabled, setEnabledpublic VCard getVCard() throws XmppException
StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.XmppExceptionpublic void setVCard(VCard vCard) throws XmppException
vCard - The vCard.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.XmppExceptionpublic VCard getVCard(Jid jid) throws XmppException
jid - The user's JID.StanzaException - If the entity returned a stanza error.NoResponseException - If the entity did not respond.XmppExceptionCopyright © 2014–2015 XMPP.rocks. All rights reserved.