|
NIMSDK-AOS
10.9.80
|
发送聊天室消息相关配置 更多...
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.java 第 13 行定义.
| com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.V2NIMSendChatroomMessageParams | ( | ) |
在文件 V2NIMSendChatroomMessageParams.java 第 48 行定义.
| V2NIMMessageAntispamConfig com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getAntispamConfig | ( | ) |
| String com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getClientAntispamReplace | ( | ) |
| V2NIMLocationInfo com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getLocationInfo | ( | ) |
| V2NIMChatroomMessageConfig com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getMessageConfig | ( | ) |
| String com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getNotifyTargetTags | ( | ) |
| List<String> com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getReceiverIds | ( | ) |
获取聊天室定向消息接收者账号ID列表,如果receiverIds不为空,表示为聊天室定向消息, 设置该字段后, 会忽略消息配置中的history_enabled配置, 消息不存历史
在文件 V2NIMSendChatroomMessageParams.java 第 140 行定义.
| V2NIMMessageRouteConfig com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.getRouteConfig | ( | ) |
| boolean com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.isClientAntispamEnabled | ( | ) |
| void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setAntispamConfig | ( | V2NIMMessageAntispamConfig | antispamConfig | ) |
| void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setClientAntispamEnabled | ( | Boolean | clientAntispamEnabled | ) |
设置是否启用本地反垃圾,默认false
| clientAntispamEnabled | 是否启用本地反垃圾,默认false |
在文件 V2NIMSendChatroomMessageParams.java 第 113 行定义.
| void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setClientAntispamReplace | ( | String | clientAntispamReplace | ) |
设置反垃圾命中后替换的文本
| clientAntispamReplace | 反垃圾命中后替换的文本 |
在文件 V2NIMSendChatroomMessageParams.java 第 132 行定义.
| void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setLocationInfo | ( | V2NIMLocationInfo | locationInfo | ) |
| void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setMessageConfig | ( | V2NIMChatroomMessageConfig | messageConfig | ) |
| void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setNotifyTargetTags | ( | String | notifyTargetTags | ) |
| void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setReceiverIds | ( | List< String > | receiverIds | ) |
设置聊天室定向消息接收者账号ID列表,如果receiverIds不为空,表示为聊天室定向消息, 设置该字段后, 会忽略消息配置中的history_enabled配置, 消息不存历史
| receiverIds | 聊天室定向消息接收者账号ID列表 |
在文件 V2NIMSendChatroomMessageParams.java 第 148 行定义.
| void com.netease.nimlib.sdk.v2.chatroom.params.V2NIMSendChatroomMessageParams.setRouteConfig | ( | V2NIMMessageRouteConfig | routeConfig | ) |
1.8.11