Package io.rong.imkit.userinfo.model
Class ExtendedUserInfo
-
- All Implemented Interfaces:
public class ExtendedUserInfo功能描述: 扩展用户信息实体类,用来存储用户信息。
- Since:
5.10.5
rongcloud
-
-
Field Summary
Fields Modifier and Type Field Description public final UserProfileuserProfilepublic final static Creator<ExtendedUserInfo>CREATOR
-
Method Summary
Modifier and Type Method Description UserProfilegetUserProfile()获取 UserProfile 对象。 static ExtendedUserInfoobtain(UserInfo userInfo)创建 ExtendedUserInfo 对象。 static ExtendedUserInfoobtain(UserProfile userProfile)创建 ExtendedUserInfo 对象。 UserProfiletoUserProfile()将 ExtendedUserInfo 转换为 UserProfile 对象。 intdescribeContents()voidwriteToParcel(Parcel dest, int flags)StringtoString()-
-
Method Detail
-
getUserProfile
UserProfile getUserProfile()
获取 UserProfile 对象。
- Returns:
UserProfile 对象。
-
obtain
static ExtendedUserInfo obtain(UserInfo userInfo)
创建 ExtendedUserInfo 对象。
- Parameters:
userInfo- 用户信息。- Returns:
ExtendedUserInfo 对象。
-
obtain
static ExtendedUserInfo obtain(UserProfile userProfile)
创建 ExtendedUserInfo 对象。
- Parameters:
userProfile- 用户信息。- Returns:
ExtendedUserInfo 对象。
-
toUserProfile
UserProfile toUserProfile()
将 ExtendedUserInfo 转换为 UserProfile 对象。
- Returns:
转换后的 UserProfile 对象。
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
toString
String toString()
-
-
-
-