com.beem.project.beem.smack.avatar
Class XmppAvatarRetriever
java.lang.Object
com.beem.project.beem.smack.avatar.XmppAvatarRetriever
- All Implemented Interfaces:
- AvatarRetriever
public class XmppAvatarRetriever
- extends Object
- implements AvatarRetriever
An AvatarRetriever which retrieve the avatar over the XMPP connection.
|
Method Summary |
byte[] |
getAvatar()
Retrieve the avatar. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XmppAvatarRetriever
public XmppAvatarRetriever(Connection con,
String from,
String id)
- Create an XmppAvatarRetriever.
- Parameters:
con - the xmpp connectionfrom - the contact from which we retrieve the avatarid - the id of the avatar to retrieve
getAvatar
public byte[] getAvatar()
- Description copied from interface:
AvatarRetriever
- Retrieve the avatar.
- Specified by:
getAvatar in interface AvatarRetriever
- Returns:
- the avatar
Copyright © 2009 Beem-project.com. All Rights Reserved.