Class ExtendedUserInfo

  • All Implemented Interfaces:

    
    public class ExtendedUserInfo
    
                        

    功能描述: 扩展用户信息实体类,用来存储用户信息。

    Since:

    5.10.5

    Author:

    rongcloud

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final UserProfile userProfile
      public final static Creator<ExtendedUserInfo> CREATOR
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • 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()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • 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 对象。