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) |
The user information manager for updating and getting user properties.
| void io.agora.chat.UserInfoManager.fetchUserInfoByAttribute | ( | final String[] | userIds, |
| final UserInfoType[] | attributes, | ||
| ValueCallBack< Map< String, UserInfo > > | 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 io.agora.chat.UserInfoManager.fetchUserInfoByUserId | ( | final String[] | userIds, |
| final ValueCallBack< Map< String, UserInfo > > | 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 io.agora.chat.UserInfoManager.updateOwnInfo | ( | final UserInfo | userInfo, |
| final ValueCallBack< 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 io.agora.chat.UserInfoManager.updateOwnInfoByAttribute | ( | final UserInfoType | attribute, |
| final String | value, | ||
| final ValueCallBack< 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. |