toggle menu
Android-IMLibCore-SDK
5.14.0
io.rong.imlib
switch theme
search in API
Android-IMLibCore-SDK
/
io.rong.imlib.model
/
UserInfo
User
Info
io.rong.imlib
public
class
UserInfo
User information entity class, used to contain and store user information.
Members
Constructors
User
Info
Link copied to clipboard
io.rong.imlib
public
void
UserInfo
(
Parcel in
)
public
void
UserInfo
(
String
id
,
String
name
,
Uri portraitUri
)
Constructor.
Properties
alias
Link copied to clipboard
io.rong.imlib
public
String
alias
CREATOR
Link copied to clipboard
io.rong.imlib
public
final
static
Creator<UserInfo>
CREATOR
extra
Link copied to clipboard
io.rong.imlib
public
String
extra
name
Link copied to clipboard
io.rong.imlib
public
String
name
portrait
Uri
Link copied to clipboard
io.rong.imlib
public
Uri
portraitUri
Functions
describe
Contents
Link copied to clipboard
io.rong.imlib
public
int
describeContents
(
)
get
Alias
Link copied to clipboard
io.rong.imlib
public
String
getAlias
(
)
Get remark
get
Extra
Link copied to clipboard
io.rong.imlib
public
String
getExtra
(
)
Retrieves additional information.
get
Name
Link copied to clipboard
io.rong.imlib
public
String
getName
(
)
Retrieves the user's name (nickname).
get
Portrait
Uri
Link copied to clipboard
io.rong.imlib
public
Uri
getPortraitUri
(
)
Fetches the user's avatar.
get
User
Id
Link copied to clipboard
io.rong.imlib
public
String
getUserId
(
)
Retrieves the user ID.
set
Alias
Link copied to clipboard
io.rong.imlib
public
void
setAlias
(
String
alias
)
Set alias
set
Extra
Link copied to clipboard
io.rong.imlib
public
void
setExtra
(
String
extra
)
Sets additional information.
set
Name
Link copied to clipboard
io.rong.imlib
public
void
setName
(
String
name
)
Sets the name (nickname).
set
Portrait
Uri
Link copied to clipboard
io.rong.imlib
public
void
setPortraitUri
(
Uri uri
)
Sets the user's avatar.
set
User
Id
Link copied to clipboard
io.rong.imlib
@
Deprecated
(
)
public
void
setUserId
(
String
userId
)
Sets the user ID.
write
To
Parcel
Link copied to clipboard
io.rong.imlib
public
void
writeToParcel
(
Parcel dest
,
int flags
)