hyphenate_SDK4.0 4.8.0
hyphenate java IM SDK
|
Public Member Functions | |
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) |
The user information manager for updating and getting user properties.
void com.hyphenate.chat.EMUserInfoManager.fetchUserInfoByAttribute | ( | final String[] | userIds, |
final EMUserInfoType[] | attributes, | ||
EMValueCallBack< Map< String, EMUserInfo > > | callBack | ||
) |
Gets user information with user ID and user properties.
userIds | The user ID array. |
attributes | The user properties. |
callBack | The completion callback, which contains the description of the cause to the failure. |
void com.hyphenate.chat.EMUserInfoManager.fetchUserInfoByUserId | ( | final String[] | userIds, |
final EMValueCallBack< Map< String, EMUserInfo > > | callBack | ||
) |
Gets user information with user ID.
userIds | The user ID array. |
callBack | The completion callback, which contains the description of the cause to the failure.. |
void com.hyphenate.chat.EMUserInfoManager.updateOwnInfo | ( | final EMUserInfo | userInfo, |
final EMValueCallBack< String > | callBack | ||
) |
Modifies the current user's information.
userInfo | The user information to be modified. |
callBack | The completion callback, which contains the description of the cause to the failure. |
void com.hyphenate.chat.EMUserInfoManager.updateOwnInfoByAttribute | ( | final EMUserInfoType | attribute, |
final String | value, | ||
final EMValueCallBack< String > | callBack | ||
) |
Modifies the current user's property.
attribute | The user property. |
value | The modified user property (if this parameter is set as null, the attribute field will be removed on the server). |
callBack | The completion callback, which contains the description of the cause to the failure. |