NIMSDK-AOS
9.19.0
basesdk
src
com
netease
nimlib
sdk
msg
model
LocalAntiSpamResult.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.msg.model;
2
3
public
class
LocalAntiSpamResult
{
4
5
/**
6
* 命中的垃圾词库类型
7
* 0:未命中
8
* 1:客户端替换
9
* 2:客户端拦截,客户端拒绝发送消息
10
* 3:服务器拦截,消息能发送,服务器做处理
11
*/
12
private
int
operator
;
13
14
/**
15
* 将垃圾词替换后的文本
16
*/
17
private
String content;
18
19
public
LocalAntiSpamResult
(
int
operator
, String content) {
20
this.
operator
=
operator
;
21
this.content = content;
22
}
23
24
public
int
getOperator
() {
25
return
operator
;
26
}
27
28
public
String
getContent
() {
29
return
content;
30
}
31
}
com.netease.nimlib.sdk.msg.model.LocalAntiSpamResult
Definition:
LocalAntiSpamResult.java:3
com.netease.nimlib.sdk.msg.model.LocalAntiSpamResult.getOperator
int getOperator()
Definition:
LocalAntiSpamResult.java:24
com.netease.nimlib.sdk.msg.model.LocalAntiSpamResult.getContent
String getContent()
Definition:
LocalAntiSpamResult.java:28
com.netease.nimlib.sdk.msg.model.LocalAntiSpamResult.LocalAntiSpamResult
LocalAntiSpamResult(int operator, String content)
Definition:
LocalAntiSpamResult.java:19
生成于 2024年 十月 16日 星期三 10:25:05 , 为 NIMSDK-AOS使用
1.8.13