Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.customavatar
Interface CustomAvatarService

All Known Implementing Classes:
NimbuzzAvatarsActivator

public interface CustomAvatarService

Service implementers can give a custom way of retrieving avatars for given contact address. ProtocolProviders will use these methods to search for avatar if their contacts are missing picture.

Author:
Damian Minkov

Method Summary
 byte[] getAvatar(String address)
          Returns the avatar bytes for the given contact address.
 

Method Detail

getAvatar

byte[] getAvatar(String address)
Returns the avatar bytes for the given contact address.

Parameters:
address - the address to search for its avatar.
Returns:
image bytes.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.