|
NIMSDK-AOS
10.9.76
|
通知消息附件实体。 更多...
Public 成员函数 | |
| NotificationType | getType () |
| 获取通知类型 更多... | |
| void | setType (NotificationType type) |
| 设置通知类型 更多... | |
| String | toJson (boolean send) |
| 将消息附件序列化为字符串,存储到消息数据库或发送到服务器。 更多... | |
| final void | fromJson (String json) |
| abstract void | parse (JSONObject json) |
通知消息附件实体。
在文件 NotificationAttachment.java 第 10 行定义.
| final void com.netease.nimlib.sdk.msg.attachment.NotificationAttachment.fromJson | ( | String | json | ) |
在文件 NotificationAttachment.java 第 34 行定义.
| NotificationType com.netease.nimlib.sdk.msg.attachment.NotificationAttachment.getType | ( | ) |
获取通知类型
在文件 NotificationAttachment.java 第 17 行定义.
|
abstract |
| void com.netease.nimlib.sdk.msg.attachment.NotificationAttachment.setType | ( | NotificationType | type | ) |
| String com.netease.nimlib.sdk.msg.attachment.NotificationAttachment.toJson | ( | boolean | send | ) |
将消息附件序列化为字符串,存储到消息数据库或发送到服务器。
| send | 如果你的附件在本地需要存储额外数据,而这些数据不需要发送到服务器,可依据该参数值区别对待。 |
实现了 com.netease.nimlib.sdk.msg.attachment.MsgAttachment.
在文件 NotificationAttachment.java 第 30 行定义.
1.8.11