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