toggle menu
Android-IMLibCore-SDK
5.12.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
用户信息实体类,用来容纳和存储用户信息。
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
)
构造函数。
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
Extra
Link copied to clipboard
io.rong.imlib
public
String
getExtra
(
)
获取附加信息。
get
Name
Link copied to clipboard
io.rong.imlib
public
String
getName
(
)
获取用户名称(昵称)。
get
Portrait
Uri
Link copied to clipboard
io.rong.imlib
public
Uri
getPortraitUri
(
)
获取用户头像。
get
User
Id
Link copied to clipboard
io.rong.imlib
public
String
getUserId
(
)
获取用户 id。
set
Alias
Link copied to clipboard
io.rong.imlib
public
void
setAlias
(
String
alias
)
设置备注
set
Extra
Link copied to clipboard
io.rong.imlib
public
void
setExtra
(
String
extra
)
设置附加信息。
set
Name
Link copied to clipboard
io.rong.imlib
public
void
setName
(
String
name
)
设置名称(昵称)。
set
Portrait
Uri
Link copied to clipboard
io.rong.imlib
public
void
setPortraitUri
(
Uri uri
)
设置用户头像。
set
User
Id
Link copied to clipboard
io.rong.imlib
@
Deprecated
(
)
public
void
setUserId
(
String
userId
)
设置用户 id。 请使用
UserInfo
构建对象,对象创建后不允许更改 id.
write
To
Parcel
Link copied to clipboard
io.rong.imlib
public
void
writeToParcel
(
Parcel dest
,
int flags
)