agora_chat_SDK  3.8.2
agorajavachatSDK
Classes | Public Member Functions | List of all members
io.agora.chat.UserInfo Class Reference

Classes

enum  UserInfoType
 

Public Member Functions

String getNickName ()
 
void setNickName (String nickName)
 
String getAvatarUrl ()
 
void setAvatarUrl (String avatarUrl)
 
String getEmail ()
 
void setEmail (String email)
 
String getPhoneNumber ()
 
void setPhoneNumber (String phoneNumber)
 
int getGender ()
 
void setGender (int gender)
 
String getSignature ()
 
void setSignature (String signature)
 
String getBirth ()
 
void setBirth (String birth)
 
String getUserId ()
 
void setUserId (String userId)
 
String getExt ()
 
void setExt (String ext)
 

Detailed Description

User attribute entity class, information about the user, the following attributes: nickName, avatarUrl, email, phoneNumber, isMale, signature, birthday, userId, ext

Member Function Documentation

String io.agora.chat.UserInfo.getAvatarUrl ( )

Get user avatar url

Returns
Avatar url
String io.agora.chat.UserInfo.getBirth ( )

Get user birthday

Returns
Birthday
String io.agora.chat.UserInfo.getEmail ( )

Get user email

Returns
Email
String io.agora.chat.UserInfo.getExt ( )

Get user extension information

Returns
Nickname
int io.agora.chat.UserInfo.getGender ( )

Get user gender

Returns
Gender
String io.agora.chat.UserInfo.getNickName ( )

Get user nickname

Returns
Nickname
String io.agora.chat.UserInfo.getPhoneNumber ( )

Get user phone number

Returns
Phone number
String io.agora.chat.UserInfo.getSignature ( )

Get user signature

Returns
Signature
String io.agora.chat.UserInfo.getUserId ( )

Get user id

Returns
User id
void io.agora.chat.UserInfo.setAvatarUrl ( String  avatarUrl)

Set the user avatar url

Parameters
avatarUrl
void io.agora.chat.UserInfo.setBirth ( String  birth)

Set the user birthday

Parameters
birth
void io.agora.chat.UserInfo.setEmail ( String  email)

Set the user email

Parameters
email
void io.agora.chat.UserInfo.setExt ( String  ext)

Set the user extension information

Parameters
ext
void io.agora.chat.UserInfo.setGender ( int  gender)

Set the user gender

Parameters
gender
void io.agora.chat.UserInfo.setNickName ( String  nickName)

Set the user nickname

Parameters
nickName
void io.agora.chat.UserInfo.setPhoneNumber ( String  phoneNumber)

Set the user phone number

Parameters
phoneNumber
void io.agora.chat.UserInfo.setSignature ( String  signature)

Set the user signature

Parameters
signature
void io.agora.chat.UserInfo.setUserId ( String  userId)

Set the user id

Parameters
userId

The documentation for this class was generated from the following file: