hyphenate_SDK3.0
3.8.1
hyphenatejavaIMSDK
|
Public 成员函数 | |
void | updateOwnInfo (final EMUserInfo userInfo, final EMValueCallBack< String > callBack) |
void | updateOwnInfoByAttribute (final EMUserInfoType attribute, final String value, final EMValueCallBack< String > callBack) |
void | fetchUserInfoByUserId (final String[] userIds, final EMValueCallBack< Map< String, EMUserInfo >> callBack) |
void | fetchUserInfoByAttribute (final String[] userIds, final EMUserInfoType[] attributes, EMValueCallBack< Map< String, EMUserInfo >> callBack) |
Protected 成员函数 | |
EMUserInfoManager (EMAUserInfoManager manager) | |
Created by lijian on 2021/03/17
void com.hyphenate.chat.EMUserInfoManager.fetchUserInfoByAttribute | ( | final String[] | userIds, |
final EMUserInfoType[] | attributes, | ||
EMValueCallBack< Map< String, EMUserInfo >> | callBack | ||
) |
根据环信ID 用户属性获取用户信息
userIds | 用户ID列表 |
attributes | 用户属性 |
callBack | 结果回调 |
void com.hyphenate.chat.EMUserInfoManager.fetchUserInfoByUserId | ( | final String[] | userIds, |
final EMValueCallBack< Map< String, EMUserInfo >> | callBack | ||
) |
根据环信ID获取用户信息
userIds | 用户ID列表 |
callBack | 结果回调 |
void com.hyphenate.chat.EMUserInfoManager.updateOwnInfo | ( | final EMUserInfo | userInfo, |
final EMValueCallBack< String > | callBack | ||
) |
修改自己的用户信息
userInfo | 要修改的用户信息 |
callBack | 结果回调 |
void com.hyphenate.chat.EMUserInfoManager.updateOwnInfoByAttribute | ( | final EMUserInfoType | attribute, |
final String | value, | ||
final EMValueCallBack< String > | callBack | ||
) |
修改自己用户信息中的某个属性
attribute | 用户属性字段 |
value | 修改后的信息(value为空的时候会把设置的attribute删除) |
callBack | 结果回调 |