public interface OperationSetAvatar extends OperationSet
Modifier and Type | Method and Description |
---|---|
void |
addAvatarListener(AvatarListener listener)
Registers a listener that would receive events upon avatar changes.
|
byte[] |
getAvatar()
Returns the current avatar of this protocol.
|
int |
getMaxHeight()
Returns the maximum height of the avatar.
|
int |
getMaxSize()
Returns the maximum size of the avatar.
|
int |
getMaxWidth()
Returns the maximum width of the avatar.
|
void |
removeAvatarListener(AvatarListener listener)
Removes the specified group change listener so that it won't receive any
further events.
|
void |
setAvatar(byte[] avatar)
Defines a new avatar for this protocol
|
int getMaxWidth()
int getMaxHeight()
int getMaxSize()
void setAvatar(byte[] avatar)
avatar
- the new avatarbyte[] getAvatar()
void addAvatarListener(AvatarListener listener)
listener
- a AvatarListener that would receive events upon avatar
changes.void removeAvatarListener(AvatarListener listener)
listener
- the AvatarListener to remove
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.