|
NIMSDK-AOS
10.9.60
|
系统通知 更多...
Public 成员函数 | |
| long | getServerId () |
| 通知所属的serverId 更多... | |
| long | getChannelId () |
| 通知所属的channelId 更多... | |
| List< String > | getToAccids () |
| 通知接收者账号列表 更多... | |
| String | getFromAccount () |
| 通知发送者的accid 更多... | |
| QChatSystemMessageToType | getToType () |
| 通知发送对象类型 更多... | |
| int | getFromClientType () |
| 通知发送者这的客户端类型 更多... | |
| String | getFromDeviceId () |
| 发送方设备id 更多... | |
| String | getFromNick () |
| 发送方昵称 更多... | |
| long | getTime () |
| 消息发送时间 更多... | |
| long | getUpdateTime () |
| 通知更新时间 更多... | |
| QChatSystemNotificationType | getType () |
| 通知类型, 参考QChatSystemMsgType 更多... | |
| int | getRawType () |
| 获取通知类型裸数据,int类型,可能是新增通知类型,但是SDK还未更新,枚举还未添加 更多... | |
| String | getMsgIdClient () |
| 客户端生成的消息id, 会用于去重 更多... | |
| long | getMsgIdServer () |
| 服务器生成的通知id,全局唯一 更多... | |
| String | getBody () |
| 通知内容 更多... | |
| String | getAttach () |
| 通知附件 更多... | |
| QChatSystemNotificationAttachment | getAttachment () |
| 通知附件字符串解析后的结构 更多... | |
| String | getExtension () |
| 扩展字段 更多... | |
| int | getStatus () |
| 状态,参考QChatSystemMsgStatus,可以自定义 更多... | |
| String | getPushPayload () |
| 第三方自定义的推送属性,限制使用json格式 更多... | |
| String | getPushContent () |
| 自定义推送文案 更多... | |
| boolean | isPersistEnable () |
| 是否存离线,只有toAccids不为空,才能设置为存离线 更多... | |
| boolean | isPushEnable () |
| 是否需要推送,默认false 更多... | |
| boolean | isNeedBadge () |
| 是否需要消息计数 更多... | |
| boolean | isNeedPushNick () |
| 是否需要推送昵称 更多... | |
| boolean | isRouteEnable () |
| 是否需要抄送,默认true 更多... | |
| String | getEnv () |
| 获取环境变量 用于指向不同的抄送,第三方回调等配置 更多... | |
| void | setEnv (String env) |
| 设置环境变量 用于指向不同的抄送,第三方回调等配置 更多... | |
| String | getCallbackExtension () |
| 获取第三方回调回来的自定义扩展字段 更多... | |
系统通知
在文件 QChatSystemNotification.java 第 12 行定义.
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getAttach | ( | ) |
通知附件
| QChatSystemNotificationAttachment com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getAttachment | ( | ) |
通知附件字符串解析后的结构
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getBody | ( | ) |
通知内容
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getCallbackExtension | ( | ) |
获取第三方回调回来的自定义扩展字段
| long com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getChannelId | ( | ) |
通知所属的channelId
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getEnv | ( | ) |
获取环境变量 用于指向不同的抄送,第三方回调等配置
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getExtension | ( | ) |
扩展字段
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getFromAccount | ( | ) |
通知发送者的accid
| int com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getFromClientType | ( | ) |
通知发送者这的客户端类型
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getFromDeviceId | ( | ) |
发送方设备id
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getFromNick | ( | ) |
发送方昵称
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getMsgIdClient | ( | ) |
客户端生成的消息id, 会用于去重
| long com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getMsgIdServer | ( | ) |
服务器生成的通知id,全局唯一
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getPushContent | ( | ) |
自定义推送文案
| String com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getPushPayload | ( | ) |
第三方自定义的推送属性,限制使用json格式
| int com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getRawType | ( | ) |
获取通知类型裸数据,int类型,可能是新增通知类型,但是SDK还未更新,枚举还未添加
| long com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getServerId | ( | ) |
通知所属的serverId
| int com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getStatus | ( | ) |
状态,参考QChatSystemMsgStatus,可以自定义
| long com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getTime | ( | ) |
消息发送时间
| List<String> com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getToAccids | ( | ) |
通知接收者账号列表
| QChatSystemMessageToType com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getToType | ( | ) |
通知发送对象类型
| QChatSystemNotificationType com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getType | ( | ) |
通知类型, 参考QChatSystemMsgType
| long com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.getUpdateTime | ( | ) |
通知更新时间
| boolean com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.isNeedBadge | ( | ) |
是否需要消息计数
| boolean com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.isNeedPushNick | ( | ) |
是否需要推送昵称
| boolean com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.isPersistEnable | ( | ) |
是否存离线,只有toAccids不为空,才能设置为存离线
| boolean com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.isPushEnable | ( | ) |
是否需要推送,默认false
| boolean com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.isRouteEnable | ( | ) |
是否需要抄送,默认true
| void com.netease.nimlib.sdk.qchat.model.QChatSystemNotification.setEnv | ( | String | env | ) |
设置环境变量 用于指向不同的抄送,第三方回调等配置
| env | 环境变量 |
1.8.11