1#ifndef V2_NIM_USER_SERVICE_H
2#define V2_NIM_USER_SERVICE_H
Definition: ne_stl_continuous_container.h:15
Definition: ne_stl_string.h:19
通用成功
Definition: v2_nim_def_callback.hpp:7
用户资料服务
Definition: v2_nim_user_service.hpp:14
virtual void addUserListener(V2NIMUserListener listener)=0
添加用户资料监听器
virtual void removeUserFromBlockList(nstd::string accountId, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
从黑名单中移除用户
virtual void getBlockList(V2NIMSuccessCallback< nstd::vector< nstd::string > > success, V2NIMFailureCallback failure)=0
获取黑名单列表
virtual void addUserToBlockList(nstd::string accountId, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
添加用户到黑名单中
virtual void updateSelfUserProfile(V2NIMUserUpdateParams updateParams, V2NIMSuccessCallback< void > success, V2NIMFailureCallback failure)=0
更新自己的用户资料
virtual void removeUserListener(V2NIMUserListener listener)=0
移除用户资料监听器
virtual void getUserListFromCloud(nstd::vector< nstd::string > accountIds, V2NIMSuccessCallback< nstd::vector< V2NIMUser > > success, V2NIMFailureCallback failure)=0
根据用户账号列表从服务器获取用户资料
virtual void searchUserByOption(const V2NIMUserSearchOption &option, V2NIMSuccessCallback< nstd::vector< V2NIMUser > > success, V2NIMFailureCallback failure)=0
根据关键字搜索用户信息
virtual void getUserList(nstd::vector< nstd::string > accountIds, V2NIMSuccessCallback< nstd::vector< V2NIMUser > > success, V2NIMFailureCallback failure)=0
根据用户账号列表获取用户资料
Definition: v2_nim_ai_service.hpp:4
Definition: ne_stl_bind.h:132
Definition: v2_nim_def_callback.hpp:180
用户搜索选项
Definition: v2_nim_def_struct.hpp:1585
Definition: v2_nim_def_struct.hpp:1565