Chat SDK for Android v1.2.1
agora java chat SDK
Public Member Functions | List of all members
io.agora.chat.UserInfo Class Reference

Public Member Functions

String getNickName ()
 
String getNickname ()
 
void setNickName (String nickname)
 
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

The user attribute class that contains user attributes.

Member Function Documentation

◆ getAvatarUrl()

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

Gets the user's avatar URL.

Returns
The user's avatar URL.

◆ getBirth()

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

Gets the user's birthday.

Returns
The user's birthday.

◆ getEmail()

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

Gets the user's email address.

Returns
The user's email address.

◆ getExt()

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

Gets the user's extension information.

Returns
The user's extension information.

◆ getGender()

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

Gets the user's gender.

Returns
The user's gender.

◆ getNickName()

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

Gets the user's nickname.

Returns
The user's nickname.
Deprecated:
Deprecated. Please use UserInfo#getNickname() instead.

◆ getNickname()

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

Gets the user's nickname.

Returns
The user's nickname.

◆ getPhoneNumber()

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

Gets the user's phone number.

Returns
The user's phone number.

◆ getSignature()

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

Gets the user's signature.

Returns
The user's signature.

◆ getUserId()

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

Gets the user ID.

Returns
The user ID.

◆ setAvatarUrl()

void io.agora.chat.UserInfo.setAvatarUrl ( String  avatarUrl)

Sets the user's avatar URL.

Parameters
avatarUrlThe user's avatar URL.

◆ setBirth()

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

Sets the user's birthday.

Parameters
birthThe user's birthday.

◆ setEmail()

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

Sets the user's email address.

Parameters
emailThe user's email address.

◆ setExt()

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

Sets the user's extension information.

Parameters
extThe user's extension information.

◆ setGender()

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

Sets the user's gender.

Parameters
genderThe user's gender.

◆ setNickName()

void io.agora.chat.UserInfo.setNickName ( String  nickname)

Sets the user's nickname.

Parameters
nicknameThe user's nickname.
Deprecated:
Deprecated. Please use UserInfo#setNickname(java.lang.String) instead.

◆ setNickname()

void io.agora.chat.UserInfo.setNickname ( String  nickname)

Sets the user's nickname.

Parameters
nicknameThe user's nickname.

◆ setPhoneNumber()

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

Sets the user's phone number.

Parameters
phoneNumberThe user's phone number.

◆ setSignature()

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

Sets the user's signature.

Parameters
signatureThe user's signature.

◆ setUserId()

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

Sets the user ID.

Parameters
userIdThe user ID.

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