Package io.rong.imkit.usermanage.handler
Class UserProfileHandler
-
- All Implemented Interfaces:
public class UserProfileHandler extends MultiDataHandler
用户信息处理类
注意:使用完毕后需要调用 stop 方法释放资源
- Since:
5.12.0
rongcloud
-
-
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()获取我的用户信息 voidgetUserProfile(String id)获取用户信息 -
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
-
getMyUserProfile
void getMyUserProfile()
获取我的用户信息
-
getUserProfile
void getUserProfile(String id)
获取用户信息
- Parameters:
id- 用户ID
-
-
-
-