NIMSDK-AOS
9.19.0
plugins
qchat
src
main
java
com
netease
nimlib
sdk
qchat
model
QChatMessageAntiSpamResult.java
浏览该文件的文档.
1
package
com.netease.nimlib.sdk.qchat.model;
2
3
import
java.io.Serializable;
4
5
/**
6
* 消息反垃圾结果
7
*/
8
public
class
QChatMessageAntiSpamResult
implements
Serializable {
9
10
/**
11
* 消息是否被反垃圾了
12
*/
13
private
final
boolean
isAntiSpam
;
14
/**
15
* 易盾反垃圾结果
16
*/
17
private
final
String yidunAntiSpamRes;
18
19
public
QChatMessageAntiSpamResult
(
boolean
isAntiSpam,String yidunAntiSpamRes) {
20
this.isAntiSpam =
isAntiSpam
;
21
this.yidunAntiSpamRes = yidunAntiSpamRes;
22
}
23
24
/**
25
* 消息是否被反垃圾了
26
* @return
27
*/
28
public
boolean
isAntiSpam
() {
29
return
isAntiSpam
;
30
}
31
32
/**
33
* 获取易盾反垃圾结果
34
* @return
35
*/
36
public
String
getYidunAntiSpamRes
() {
37
return
yidunAntiSpamRes;
38
}
39
40
@Override
41
public
String
toString
() {
42
return
"QChatMessageAntiSpamResult{"
+
43
"isAntiSpam="
+ isAntiSpam +
44
", yidunAntiSpamRes='"
+ yidunAntiSpamRes +
'\''
+
45
'}'
;
46
}
47
}
com.netease.nimlib.sdk.qchat.model.QChatMessageAntiSpamResult.getYidunAntiSpamRes
String getYidunAntiSpamRes()
获取易盾反垃圾结果
Definition:
QChatMessageAntiSpamResult.java:36
com.netease.nimlib.sdk.qchat.model.QChatMessageAntiSpamResult.isAntiSpam
boolean isAntiSpam()
消息是否被反垃圾了
Definition:
QChatMessageAntiSpamResult.java:28
com.netease.nimlib.sdk.qchat.model.QChatMessageAntiSpamResult.toString
String toString()
Definition:
QChatMessageAntiSpamResult.java:41
com.netease.nimlib.sdk.qchat.model.QChatMessageAntiSpamResult.QChatMessageAntiSpamResult
QChatMessageAntiSpamResult(boolean isAntiSpam, String yidunAntiSpamRes)
Definition:
QChatMessageAntiSpamResult.java:19
com.netease.nimlib.sdk.qchat.model.QChatMessageAntiSpamResult
消息反垃圾结果
Definition:
QChatMessageAntiSpamResult.java:8
生成于 2024年 十月 16日 星期三 10:25:05 , 为 NIMSDK-AOS使用
1.8.13