NIMSDK-AOS  10.9.80
Public 成员函数 | 所有成员列表
com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams类 参考

发送聊天室消息相关配置 更多...

类 com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams 继承关系图:

Public 成员函数

 V2NIMSendChatroomMessageParams ()
 
V2NIMChatroomMessageConfig getMessageConfig ()
 获取消息相关配置 更多...
 
void setMessageConfig (V2NIMChatroomMessageConfig messageConfig)
 设置消息相关配置 更多...
 
V2NIMMessageRouteConfig getRouteConfig ()
 获取路由抄送相关配置 更多...
 
void setRouteConfig (V2NIMMessageRouteConfig routeConfig)
 设置路由抄送相关配置 更多...
 
V2NIMMessageAntispamConfig getAntispamConfig ()
 获取反垃圾相关配置 更多...
 
void setAntispamConfig (V2NIMMessageAntispamConfig antispamConfig)
 设置反垃圾相关配置 更多...
 
boolean isClientAntispamEnabled ()
 获取是否启用本地反垃圾,默认false 更多...
 
void setClientAntispamEnabled (Boolean clientAntispamEnabled)
 设置是否启用本地反垃圾,默认false 更多...
 
String getClientAntispamReplace ()
 获取反垃圾命中后替换的文本 更多...
 
void setClientAntispamReplace (String clientAntispamReplace)
 设置反垃圾命中后替换的文本 更多...
 
List< String > getReceiverIds ()
 获取聊天室定向消息接收者账号ID列表,如果receiverIds不为空,表示为聊天室定向消息, 设置该字段后, 会忽略消息配置中的history_enabled配置, 消息不存历史 更多...
 
void setReceiverIds (List< String > receiverIds)
 设置聊天室定向消息接收者账号ID列表,如果receiverIds不为空,表示为聊天室定向消息, 设置该字段后, 会忽略消息配置中的history_enabled配置, 消息不存历史 更多...
 
String getNotifyTargetTags ()
 获取消息的目标标签表达式 更多...
 
void setNotifyTargetTags (String notifyTargetTags)
 设置消息的目标标签表达式 更多...
 
V2NIMLocationInfo getLocationInfo ()
 获取位置信息 更多...
 
void setLocationInfo (V2NIMLocationInfo locationInfo)
 设置位置信息 更多...
 

详细描述

发送聊天室消息相关配置

在文件 V2NIMSendChatroomMessageParams.java13 行定义.

构造及析构函数说明

com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.V2NIMSendChatroomMessageParams ( )

在文件 V2NIMSendChatroomMessageParams.java48 行定义.

成员函数说明

V2NIMMessageAntispamConfig com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getAntispamConfig ( )

获取反垃圾相关配置

返回
反垃圾相关配置

在文件 V2NIMSendChatroomMessageParams.java86 行定义.

String com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getClientAntispamReplace ( )

获取反垃圾命中后替换的文本

返回
反垃圾命中后替换的文本

在文件 V2NIMSendChatroomMessageParams.java121 行定义.

V2NIMLocationInfo com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getLocationInfo ( )

获取位置信息

返回
位置信息

在文件 V2NIMSendChatroomMessageParams.java172 行定义.

V2NIMChatroomMessageConfig com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getMessageConfig ( )

获取消息相关配置

返回
消息相关配置

在文件 V2NIMSendChatroomMessageParams.java55 行定义.

String com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getNotifyTargetTags ( )

获取消息的目标标签表达式

返回
消息的目标标签表达式

在文件 V2NIMSendChatroomMessageParams.java156 行定义.

List<String> com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getReceiverIds ( )

获取聊天室定向消息接收者账号ID列表,如果receiverIds不为空,表示为聊天室定向消息, 设置该字段后, 会忽略消息配置中的history_enabled配置, 消息不存历史

返回
聊天室定向消息接收者账号ID列表

在文件 V2NIMSendChatroomMessageParams.java140 行定义.

V2NIMMessageRouteConfig com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getRouteConfig ( )

获取路由抄送相关配置

返回
路由抄送相关配置

在文件 V2NIMSendChatroomMessageParams.java70 行定义.

boolean com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.isClientAntispamEnabled ( )

获取是否启用本地反垃圾,默认false

返回
是否启用本地反垃圾,默认false

在文件 V2NIMSendChatroomMessageParams.java102 行定义.

void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setAntispamConfig ( V2NIMMessageAntispamConfig  antispamConfig)

设置反垃圾相关配置

参数
antispamConfig反垃圾相关配置

在文件 V2NIMSendChatroomMessageParams.java94 行定义.

void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setClientAntispamEnabled ( Boolean  clientAntispamEnabled)

设置是否启用本地反垃圾,默认false

参数
clientAntispamEnabled是否启用本地反垃圾,默认false

在文件 V2NIMSendChatroomMessageParams.java113 行定义.

void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setClientAntispamReplace ( String  clientAntispamReplace)

设置反垃圾命中后替换的文本

参数
clientAntispamReplace反垃圾命中后替换的文本

在文件 V2NIMSendChatroomMessageParams.java132 行定义.

void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setLocationInfo ( V2NIMLocationInfo  locationInfo)

设置位置信息

参数
locationInfo位置信息

在文件 V2NIMSendChatroomMessageParams.java180 行定义.

void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setMessageConfig ( V2NIMChatroomMessageConfig  messageConfig)

设置消息相关配置

参数
messageConfig消息相关配置

在文件 V2NIMSendChatroomMessageParams.java62 行定义.

void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setNotifyTargetTags ( String  notifyTargetTags)

设置消息的目标标签表达式

参数
notifyTargetTags消息的目标标签表达式

在文件 V2NIMSendChatroomMessageParams.java164 行定义.

void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setReceiverIds ( List< String >  receiverIds)

设置聊天室定向消息接收者账号ID列表,如果receiverIds不为空,表示为聊天室定向消息, 设置该字段后, 会忽略消息配置中的history_enabled配置, 消息不存历史

参数
receiverIds聊天室定向消息接收者账号ID列表

在文件 V2NIMSendChatroomMessageParams.java148 行定义.

void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setRouteConfig ( V2NIMMessageRouteConfig  routeConfig)

设置路由抄送相关配置

参数
routeConfig路由抄送相关配置

在文件 V2NIMSendChatroomMessageParams.java78 行定义.


该类的文档由以下文件生成: