Class UserProfileOperationsHandler
-
- All Implemented Interfaces:
public class UserProfileOperationsHandler extends MultiDataHandler
User profile operations handler.
Note: Call stop to release resources when done.
- Since:
5.12.0
-
-
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)Updates the current user's profile. voidupdateMyUserProfileExamine(UserProfile userProfile)Updates the current user's profile with review. voidsetFriendInfo(String userId, String remark, Map<String, String> extProfile)Sets friend info. voidsetFriendInfoExamine(String userId, String remark, Map<String, String> extProfile)Sets friend info with review. -
Methods inherited from class ai.nexconn.chatui.base.BaseHandler
isAlive -
Methods inherited from class ai.nexconn.chatui.base.MultiDataHandler
addDataChangeListener, notifyDataChange, 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)
Updates the current user's profile.
- Parameters:
userProfile- the user profile
-
updateMyUserProfileExamine
void updateMyUserProfileExamine(UserProfile userProfile)
Updates the current user's profile with review.
- Parameters:
userProfile- the user profile
-
setFriendInfo
@Deprecated() void setFriendInfo(String userId, String remark, Map<String, String> extProfile)
Sets friend info.
- Parameters:
userId- the user IDremark- the remarkextProfile- the extended profile
-
-
-
-