Class UserProfile

  • All Implemented Interfaces:

    
    public class UserProfile
    
                        

    User Profile Entity Class

    Since:

    5.10.0

    • Constructor Detail

      • UserProfile

        UserProfile()
      • UserProfile

        UserProfile(Parcel in)
    • Method Detail

      • getUserId

         String getUserId()

        Retrieves the user ID.

        Returns:

        The user ID.

      • setUserId

         void setUserId(String userId)

        Sets the user ID.

        Note: This is an internal method. Do not set the user ID externally.

        Parameters:
        userId - The user ID
      • getName

         String getName()

        Get nickname

        Returns:

        nickname

      • setName

         void setName(String name)

        Set nickname

        Parameters:
        name - Nickname
      • getPortraitUri

         String getPortraitUri()

        Get avatar URL

        Returns:

        The avatar URL

      • setPortraitUri

         void setPortraitUri(String portraitUri)

        Set avatar URL

        Parameters:
        portraitUri - The avatar URL
      • getUniqueId

         String getUniqueId()

        Get the user application number

        Returns:

        The user application number

      • setUniqueId

         void setUniqueId(String uniqueId)

        Set the user application ID

        Parameters:
        uniqueId - The user application ID
      • getEmail

         String getEmail()

        Get Email

        Returns:

        Email

      • setEmail

         void setEmail(String email)

        Set Email

        Parameters:
        email - Email
      • getBirthday

         String getBirthday()

        Get birthday

        Returns:

        Birthday

      • setBirthday

         void setBirthday(String birthday)

        Set birthday

        Parameters:
        birthday - Birthday
      • getGender

         int getGender()

        Get gender

        Returns:

        gender

      • setGender

         void setGender(int gender)

        Set gender

        Parameters:
        gender - Specifies the gender
      • getLocation

         String getLocation()

        Get the location

        Returns:

        The location

      • setLocation

         void setLocation(String location)

        Set location

        Parameters:
        location - The location to set
      • getRole

         int getRole()

        Get role

        Returns:

        Role

      • setRole

         void setRole(int role)

        Set role

        Parameters:
        role - The role
      • getLevel

         int getLevel()

        Get level

        Returns:

        The level

      • setLevel

         void setLevel(int level)

        Set Level

        Parameters:
        level - Specifies the level
      • getUserExtProfile

         HashMap<String, String> getUserExtProfile()

        Retrieves user extended information

        Returns:

        User extended information

      • setUserExtProfile

         void setUserExtProfile(HashMap<String, String> userExtProfile)

        Set user extended information

        Parameters:
        userExtProfile - User extended information