Package io.rong.imkit.usermanage.handler
Class UserProfileOperationsHandler
-
- All Implemented Interfaces:
public class UserProfileOperationsHandler extends MultiDataHandler
用户信息操作处理类
注意:使用完毕后需要调用 stop 方法释放资源
- Since:
5.12.0
rongcloud
-
-
Field Summary
Fields Modifier and Type Field Description public final static MultiDataHandler.DataKey<Boolean>KEY_UPDATE_MY_USER_PROFILEpublic final static MultiDataHandler.DataKey<Boolean>KEY_UPDATE_MY_USER_PROFILE_EXAMINEpublic final static MultiDataHandler.DataKey<Boolean>KEY_SET_FRIEND_INFOpublic final static MultiDataHandler.DataKey<Boolean>KEY_SET_FRIEND_INFO_EXMAINEprotected volatile booleanisAlive
-
Constructor Summary
Constructors Constructor Description UserProfileOperationsHandler()
-
Method Summary
Modifier and Type Method Description voidupdateMyUserProfile(UserProfile userProfile)更新用户信息 voidupdateMyUserProfileExamine(UserProfile userProfile)更新用户信息 voidsetFriendInfo(String userId, String remark, Map<String, String> extProfile)设置好友信息 voidsetFriendInfoExamine(String userId, String remark, Map<String, String> extProfile)设置好友信息 -
Methods inherited from class io.rong.imkit.base.BaseHandler
isAlive -
Methods inherited from class io.rong.imkit.base.MultiDataHandler
addDataChangeListener, notifyDataChange, notifyDataError, notifyDataError, notifyDataError, replaceDataChangeListener, stop -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
updateMyUserProfile
@Deprecated() void updateMyUserProfile(UserProfile userProfile)
更新用户信息
- Parameters:
userProfile- 用户信息
-
updateMyUserProfileExamine
void updateMyUserProfileExamine(UserProfile userProfile)
更新用户信息
- Parameters:
userProfile- 用户信息
-
setFriendInfo
@Deprecated() void setFriendInfo(String userId, String remark, Map<String, String> extProfile)
设置好友信息
- Parameters:
userId- 用户IDremark- 备注extProfile- 扩展信息
-
-
-
-