Package io.rong.imkit.usermanage.handler
Class UserProfileOperationsHandler
-
- All Implemented Interfaces:
public class UserProfileOperationsHandler
用户信息操作处理类
注意:使用完毕后需要调用 stop 方法释放资源
- Since:
5.12.0
rongcloud
-
-
Field Summary
Fields Modifier and Type Field Description public final static DataKey<Boolean>
KEY_UPDATE_MY_USER_PROFILE
public final static DataKey<Boolean>
KEY_UPDATE_MY_USER_PROFILE_EXAMINE
public final static DataKey<Boolean>
KEY_SET_FRIEND_INFO
public final static DataKey<Boolean>
KEY_SET_FRIEND_INFO_EXMAINE
-
Constructor Summary
Constructors Constructor Description UserProfileOperationsHandler()
-
Method Summary
Modifier and Type Method Description void
updateMyUserProfile(UserProfile userProfile)
更新用户信息 void
updateMyUserProfileExamine(UserProfile userProfile)
更新用户信息 void
setFriendInfo(String userId, String remark, Map<String, String> extProfile)
设置好友信息 void
setFriendInfoExamine(String userId, String remark, Map<String, String> extProfile)
设置好友信息 -
-
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
- 扩展信息
-
setFriendInfoExamine
void setFriendInfoExamine(String userId, String remark, Map<String, String> extProfile)
设置好友信息
- Parameters:
userId
- 用户IDremark
- 备注extProfile
- 扩展信息
-
-
-
-