public class VCardXEP0153
extends org.jivesoftware.smackx.packet.VCard
Constructor and Description |
---|
VCardXEP0153() |
Modifier and Type | Method and Description |
---|---|
void |
setAvatar(byte[] bytes)
Specify the bytes for the avatar to use.
|
void |
setAvatar(byte[] bytes,
java.lang.String mimeType)
Specify the bytes for the avatar to use as well as the mime type.
|
equals, getAddressFieldHome, getAddressFieldWork, getAvatar, getAvatarHash, getBytes, getChildElementXML, getEmailHome, getEmailWork, getField, getFirstName, getJabberId, getLastName, getMiddleName, getNickName, getOrganization, getOrganizationUnit, getPhoneHome, getPhoneWork, hashCode, load, load, save, setAddressFieldHome, setAddressFieldWork, setAvatar, setEmailHome, setEmailWork, setEncodedImage, setField, setField, setFirstName, setJabberId, setLastName, setMiddleName, setNickName, setOrganization, setOrganizationUnit, setPhoneHome, setPhoneWork, toString
createErrorResponse, createResultIQ, getType, setType, toXML
addExtension, deleteProperty, getDefaultLanguage, getError, getExtension, getExtension, getExtensions, getExtensionsXML, getFrom, getPacketID, getProperty, getPropertyNames, getTo, getXmlns, nextID, removeExtension, setDefaultXmlns, setError, setFrom, setPacketID, setProperty, setTo
public void setAvatar(byte[] bytes)
setAvatar
in class org.jivesoftware.smackx.packet.VCard
bytes
- the bytes of the avatar.public void setAvatar(byte[] bytes, java.lang.String mimeType)
setAvatar
in class org.jivesoftware.smackx.packet.VCard
bytes
- the bytes of the avatar.mimeType
- the mime type of the avatar.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.