Class UserProfileHandler
-
- All Implemented Interfaces:
public class UserProfileHandler extends MultiDataHandler
User profile 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<UserProfile>KEY_GET_USER_PROFILEpublic final static MultiDataHandler.DataKey<UserProfile>KEY_GET_MY_USER_PROFILEprotected volatile booleanisAlive
-
Constructor Summary
Constructors Constructor Description UserProfileHandler()
-
Method Summary
Modifier and Type Method Description voidgetMyUserProfile()Gets the current user's profile. voidgetUserProfile(String id)Gets a user's profile. -
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
-
getMyUserProfile
void getMyUserProfile()
Gets the current user's profile.
-
getUserProfile
void getUserProfile(String id)
Gets a user's profile.
- Parameters:
id- the user ID
-
-
-
-