# UserManager

public interface UserManager

## Functions

getMyUserProfile
Link copied to clipboard
public abstract void getMyUserProfile(IRongCoreCallback.ResultCallback<UserProfile> callback)
获取当前用户资料
getMyUserProfileVisibility
Link copied to clipboard
public abstract void getMyUserProfileVisibility(IRongCoreCallback.ResultCallback<UserProfileVisibility> callback)
用户权限获取
getUserProfiles
Link copied to clipboard
public abstract void getUserProfiles(List<String> userIdList, IRongCoreCallback.ResultCallback<List<UserProfile>> callback)
批量获取用户资料
querySubscribeEvent
Link copied to clipboard
public abstract void querySubscribeEvent(SubscribeEventRequest request, IRongCoreCallback.ResultCallback<List<SubscribeInfoEvent>> callback)
查询当前的订阅事件状态。 此方法用于获取当前所有订阅的事件的状态信息。
public abstract void querySubscribeEvent(SubscribeEventRequest request, int pageSize, int startIndex, IRongCoreCallback.ResultCallback<List<SubscribeInfoEvent>> callback)
searchUserProfileByUniqueId
Link copied to clipboard
public abstract void searchUserProfileByUniqueId(String uniqueId, IRongCoreCallback.ResultCallback<UserProfile> callback)
按用户应用号精确搜索用户信息
subscribeEvent
Link copied to clipboard
public abstract void subscribeEvent(SubscribeEventRequest request, IRongCoreCallback.SubscribeEventCallback<List<String>> callback)
订阅用户状态事件。 此方法用于订阅一组用户的状态。当这些用户的状态发生变化时，将通过回调接口通知调用者。
unSubscribeEvent
Link copied to clipboard
public abstract void unSubscribeEvent(SubscribeEventRequest request, IRongCoreCallback.SubscribeEventCallback<List<String>> callback)
取消订阅用户状态事件。 此方法用于取消已经订阅的用户状态事件。
updateMyUserProfile
Link copied to clipboard
public abstract void updateMyUserProfile(UserProfile profile, IRongCoreCallback.UpdateUserProfileCallback callback)
更新用户资料 注意：建议先获取用户资料，在最新的用户资料基础之上更新用户资料
updateMyUserProfileVisibility
Link copied to clipboard
public abstract void updateMyUserProfileVisibility(UserProfileVisibility visibility, IRongCoreCallback.ResultCallback<Boolean> callback)
用户权限设置