Package io.rong.imlib.model
        Class UserProfile
- 
                    
                    - All Implemented Interfaces:
 
 public class UserProfileUser Profile Entity Class - Since:
- 5.10.0 
 
- 
                
                    
                    - 
                                
                            
                                Field SummaryFields Modifier and Type Field Description public final static Creator<UserProfile>CREATORpublic StringuserIdpublic Stringnamepublic StringportraitUripublic StringuniqueIdpublic Stringemailpublic Stringbirthdaypublic intgenderpublic Stringlocationpublic introlepublic intlevelpublic HashMap<String, String>userProfilepublic HashMap<String, String>userExtProfile
 - 
                                
                            
                                Constructor SummaryConstructors Constructor Description UserProfile()UserProfile(Parcel in)
 - 
                                
                            
                                Method SummaryModifier and Type Method Description StringgetUserId()Retrieves the user ID. voidsetUserId(String userId)Sets the user ID. StringgetName()Get nickname voidsetName(String name)Set nickname StringgetPortraitUri()Get avatar URL voidsetPortraitUri(String portraitUri)Set avatar URL StringgetUniqueId()Get the user application number voidsetUniqueId(String uniqueId)Set the user application ID StringgetEmail()Get Email voidsetEmail(String email)Set Email StringgetBirthday()Get birthday voidsetBirthday(String birthday)Set birthday intgetGender()Get gender voidsetGender(int gender)Set gender StringgetLocation()Get the location voidsetLocation(String location)Set location intgetRole()Get role voidsetRole(int role)Set role intgetLevel()Get level voidsetLevel(int level)Set Level HashMap<String, String>getUserProfile()HashMap<String, String>getUserExtProfile()Retrieves user extended information voidsetUserExtProfile(HashMap<String, String> userExtProfile)Set user extended information intdescribeContents()voidwriteToParcel(Parcel dest, int flags)StringtoString()- 
                    
                    
                    - 
                                
                            
                                Method Detail- 
                                        getUserIdString getUserId() Retrieves the user ID. - Returns:
- The user ID. 
 
 - 
                                        setUserIdvoid 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
 
 - 
                                        getNameString getName() Get nickname - Returns:
- nickname 
 
 - 
                                        setNamevoid setName(String name) Set nickname - Parameters:
- name- Nickname
 
 - 
                                        getPortraitUriString getPortraitUri() Get avatar URL - Returns:
- The avatar URL 
 
 - 
                                        setPortraitUrivoid setPortraitUri(String portraitUri) Set avatar URL - Parameters:
- portraitUri- The avatar URL
 
 - 
                                        getUniqueIdString getUniqueId() Get the user application number - Returns:
- The user application number 
 
 - 
                                        setUniqueIdvoid setUniqueId(String uniqueId) Set the user application ID - Parameters:
- uniqueId- The user application ID
 
 - 
                                        getEmailString getEmail() Get Email - Returns:
- Email 
 
 - 
                                        setEmailvoid setEmail(String email) Set Email - Parameters:
- email- Email
 
 - 
                                        getBirthdayString getBirthday() Get birthday - Returns:
- Birthday 
 
 - 
                                        setBirthdayvoid setBirthday(String birthday) Set birthday - Parameters:
- birthday- Birthday
 
 - 
                                        getGenderint getGender() Get gender - Returns:
- gender 
 
 - 
                                        setGendervoid setGender(int gender) Set gender - Parameters:
- gender- Specifies the gender
 
 - 
                                        getLocationString getLocation() Get the location - Returns:
- The location 
 
 - 
                                        setLocationvoid setLocation(String location) Set location - Parameters:
- location- The location to set
 
 - 
                                        getRoleint getRole() Get role - Returns:
- Role 
 
 - 
                                        setRolevoid setRole(int role) Set role - Parameters:
- role- The role
 
 - 
                                        getLevelint getLevel() Get level - Returns:
- The level 
 
 - 
                                        setLevelvoid setLevel(int level) Set Level - Parameters:
- level- Specifies the level
 
 - 
                                        getUserProfileHashMap<String, String> getUserProfile() 
 - 
                                        getUserExtProfileHashMap<String, String> getUserExtProfile() Retrieves user extended information - Returns:
- User extended information 
 
 - 
                                        setUserExtProfilevoid setUserExtProfile(HashMap<String, String> userExtProfile) Set user extended information - Parameters:
- userExtProfile- User extended information
 
 - 
                                        describeContentsint describeContents() 
 - 
                                        writeToParcelvoid writeToParcel(Parcel dest, int flags) 
 - 
                                        toStringString toString() 
 
- 
                                        
 
- 
                                
                            
                                
 
- 
                    
                    
                    
 
-