com.beem.project.beem.service
Class UserInfo

Package class diagram package UserInfo
java.lang.Object
  extended by com.beem.project.beem.service.UserInfo
All Implemented Interfaces:
Parcelable

public class UserInfo
extends Object
implements Parcelable

This class contains information about the user of the connection. These informations are sent by the connection.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<UserInfo> CREATOR
          Parcelable.Creator needs by Android.
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
UserInfo(String jid)
          Constructor.
 
Method Summary
 int describeContents()
           
 String getAvatarId()
          Get the avatar id of the user.
 String getJid()
          Get the full jid of the user.
 void setAvatarId(String avatarId)
          Set the avater id of the user.
 void writeToParcel(Parcel dest, int flags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CREATOR

public static final Parcelable.Creator<UserInfo> CREATOR
Parcelable.Creator needs by Android.

Constructor Detail

UserInfo

public UserInfo(String jid)
Constructor.

Parameters:
jid - jid of the user
Method Detail

writeToParcel

public void writeToParcel(Parcel dest,
                          int flags)
Specified by:
writeToParcel in interface Parcelable

describeContents

public int describeContents()
Specified by:
describeContents in interface Parcelable

getAvatarId

public String getAvatarId()
Get the avatar id of the user.

Returns:
the avatar id

setAvatarId

public void setAvatarId(String avatarId)
Set the avater id of the user.

Parameters:
avatarId - the avatar id

getJid

public String getJid()
Get the full jid of the user.

Returns:
the jid


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