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 UserProfile
userProfile
public final static Creator<ExtendedUserInfo>
CREATOR
-
Method Summary
Modifier and Type Method Description UserProfile
getUserProfile()
获取 UserProfile 对象。 static ExtendedUserInfo
obtain(UserInfo userInfo)
创建 ExtendedUserInfo 对象。 static ExtendedUserInfo
obtain(UserProfile userProfile)
创建 ExtendedUserInfo 对象。 UserProfile
toUserProfile()
将 ExtendedUserInfo 转换为 UserProfile 对象。 int
describeContents()
void
writeToParcel(Parcel dest, int flags)
String
toString()
-
-
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()
-
-
-
-