Package ai.nexconn.chatui.userinfo.model
Class ExtendedUserInfo
-
- All Implemented Interfaces:
-
android.os.Parcelable
public class ExtendedUserInfo implements Parcelable
-
-
Field Summary
Fields Modifier and Type Field Description public StringuserIdpublic Stringnamepublic StringportraitUripublic Stringaliaspublic Stringextrapublic UserProfileuserProfilepublic FriendDetailfriendDetailpublic final static Parcelable.Creator<ExtendedUserInfo>CREATORpublic final static intCONTENTS_FILE_DESCRIPTORpublic final static intPARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
Constructors Constructor Description ExtendedUserInfo(Parcel in)
-
Method Summary
Modifier and Type Method Description StringgetUserId()voidsetUserId(String userId)StringgetName()voidsetName(String name)StringgetPortraitUri()voidsetPortraitUri(String portraitUri)StringgetAlias()voidsetAlias(String alias)StringgetExtra()voidsetExtra(String extra)UserProfilegetUserProfile()FriendDetailgetFriendDetail()voidsetFriendDetail(FriendDetail friendDetail)static ExtendedUserInfoobtain(@NonNull() UserInfo userInfo)static ExtendedUserInfoobtain(@NonNull() UserProfile userProfile)static ExtendedUserInfoobtain(@NonNull() FriendDetail friendDetail)UserInfotoUserInfo()UserProfiletoUserProfile()FriendDetailtoFriendDetail()intdescribeContents()voidwriteToParcel(Parcel dest, int flags)StringtoString()-
-
Method Detail
-
getPortraitUri
String getPortraitUri()
-
setPortraitUri
void setPortraitUri(String portraitUri)
-
getUserProfile
UserProfile getUserProfile()
-
getFriendDetail
FriendDetail getFriendDetail()
-
setFriendDetail
void setFriendDetail(FriendDetail friendDetail)
-
obtain
static ExtendedUserInfo obtain(@NonNull() UserInfo userInfo)
-
obtain
static ExtendedUserInfo obtain(@NonNull() UserProfile userProfile)
-
obtain
static ExtendedUserInfo obtain(@NonNull() FriendDetail friendDetail)
-
toUserInfo
UserInfo toUserInfo()
-
toUserProfile
UserProfile toUserProfile()
-
toFriendDetail
FriendDetail toFriendDetail()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-