com.beem.project.beem.service
Class BeemAvatarManager

Package class diagram package BeemAvatarManager
java.lang.Object
  extended by com.beem.project.beem.smack.avatar.AvatarManager
      extended by com.beem.project.beem.service.BeemAvatarManager

public class BeemAvatarManager
extends AvatarManager

An AvatarManager for Beem. It allows to publish avatar on the Android platform.


Field Summary
 
Fields inherited from class com.beem.project.beem.smack.avatar.AvatarManager
AVATARDATA_NODE, AVATARMETADATA_NODE
 
Constructor Summary
BeemAvatarManager(Context ctx, Connection con, PepSubManager pepMgr, AvatarCache cache, boolean autoDownload)
          Create a BeemAvatarManager.
 
Method Summary
 boolean publishAvatar(Uri avatarUri)
          Publish an avatar.
 
Methods inherited from class com.beem.project.beem.smack.avatar.AvatarManager
addAvatarListener, disableAvatarPublishing, downloadAvatar, getAvatar, getAvatarId, publishAvatarData, publishAvatarMetaData, removeAvatarListener, selectAvatar
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BeemAvatarManager

public BeemAvatarManager(Context ctx,
                         Connection con,
                         PepSubManager pepMgr,
                         AvatarCache cache,
                         boolean autoDownload)
Create a BeemAvatarManager.

Parameters:
ctx - the Android context
con - the connection
pepMgr - the PepSubManager of the connection
cache - the cache which will store the avatars
autoDownload - tre to enable auto download of avatars
Method Detail

publishAvatar

public boolean publishAvatar(Uri avatarUri)
Publish an avatar.

Parameters:
avatarUri - the uri of the avatar
Returns:
true if the avatar was successfully published


Copyright © 2009 Beem-project.com. All Rights Reserved.