NIMSDK-AOS
10.5.0
basesdk
src
com
netease
nimlib
sdk
uinfo
UserService.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.uinfo;
2
3
import
com
.
netease
.
nimlib
.apt.annotation.NIMService;
4
import
com
.
netease
.
nimlib
.
sdk
.
InvocationFuture
;
5
import
com
.
netease
.
nimlib
.
sdk
.
antispam
.
model
.
AntiSpamConfig
;
6
import
com
.
netease
.
nimlib
.
sdk
.
uinfo
.
constant
.
UserInfoFieldEnum
;
7
import
com
.
netease
.
nimlib
.
sdk
.
uinfo
.
model
.
NimUserInfo
;
8
9
import
java.util.List;
10
import
java.util.Map;
11
15
@NIMService(
"用户资料服务"
)
16
public interface
UserService
{
17
24
InvocationFuture<List<NimUserInfo>
> fetchUserInfo(List<String> accounts);
25
32
List<NimUserInfo> getUserInfoList(List<String> accounts);
33
40
NimUserInfo
getUserInfo(String account);
41
47
List<NimUserInfo> getAllUserInfo();
48
55
InvocationFuture<Void>
updateUserInfo(Map<UserInfoFieldEnum, Object> fields);
56
64
InvocationFuture<Void>
updateUserInfo(Map<UserInfoFieldEnum, Object> fields,
65
AntiSpamConfig
antispamConfig);
66
71
InvocationFuture<Void>
setUserState(
int
state);
72
78
InvocationFuture<List<NimUserInfo>
> searchUserInfosByKeyword(String keyword);
79
86
InvocationFuture<List<String>
> searchAccountByName(String name);
87
}
com.netease.nimlib.sdk.uinfo.model
Definition:
UserInfo.java:1
com.netease.nimlib.sdk.uinfo.constant
Definition:
GenderEnum.java:1
com.netease.nimlib.sdk.antispam.model.AntiSpamConfig
反垃圾配置
Definition:
AntiSpamConfig.java:8
com.netease.nimlib.sdk
Definition:
RequestCallback.java:1
com.netease
com
com.netease.nimlib.sdk.InvocationFuture
调用跟踪
Definition:
InvocationFuture.java:6
com.netease.nimlib.sdk.uinfo.model.NimUserInfo
用户资料(网易云信提供的用户资料托管使用)
Definition:
NimUserInfo.java:10
com.netease.nimlib.sdk.antispam.model
Definition:
AntiSpamConfig.java:1
com.netease.nimlib.sdk.antispam
com.netease.nimlib.sdk.uinfo.constant.UserInfoFieldEnum
修改用户资料时的域定义
Definition:
UserInfoFieldEnum.java:8
com.netease.nimlib.sdk.uinfo
Definition:
UserService.java:1
com.netease.nimlib.sdk.uinfo.UserService
用户资料操作相关接口
Definition:
UserService.java:16
com.netease.nimlib
生成于 2024年 十月 15日 星期二 18:40:25 , 为 NIMSDK-AOS使用
1.8.13