agora_chat_SDK
3.8.2
agorajavachatSDK
|
Public Member Functions | |
void | updateOwnInfo (final UserInfo userInfo, final ValueCallBack< String > callBack) |
void | updateOwnInfoByAttribute (final UserInfoType attribute, final String value, final ValueCallBack< String > callBack) |
void | fetchUserInfoByUserId (final String[] userIds, final ValueCallBack< Map< String, UserInfo >> callBack) |
void | fetchUserInfoByAttribute (final String[] userIds, final UserInfoType[] attributes, ValueCallBack< Map< String, UserInfo >> callBack) |
Protected Member Functions | |
UserInfoManager (EMAUserInfoManager manager) | |
User information manager, responsible for updating and getting user attributes
void io.agora.chat.UserInfoManager.fetchUserInfoByAttribute | ( | final String[] | userIds, |
final UserInfoType[] | attributes, | ||
ValueCallBack< Map< String, UserInfo >> | callBack | ||
) |
Get user information by user id and user attributes
userIds | USer id array |
attributes | User attributes |
callBack | Result callback |
void io.agora.chat.UserInfoManager.fetchUserInfoByUserId | ( | final String[] | userIds, |
final ValueCallBack< Map< String, UserInfo >> | callBack | ||
) |
Get user information by user id
userIds | User id array |
callBack | Result callback |
void io.agora.chat.UserInfoManager.updateOwnInfo | ( | final UserInfo | userInfo, |
final ValueCallBack< String > | callBack | ||
) |
Update current user's own user information
userInfo | User information to be modified |
callBack | Result callback |
void io.agora.chat.UserInfoManager.updateOwnInfoByAttribute | ( | final UserInfoType | attribute, |
final String | value, | ||
final ValueCallBack< String > | callBack | ||
) |
Update current user's own user information
attribute | Attribute of user |
value | Information modified(if value is null will delete the attribute on the server) |
callBack | Result callback |