|
|
|
@ -216,7 +216,7 @@ OpenIM.iMManager.logout(); |
|
|
|
|
#### 消息管理:OpenIM.iMManager.messageManager |
|
|
|
|
|
|
|
|
|
| 方法 | 描述 | 参数说明 | |
|
|
|
|
| --------------------------------- | ------------------ | ------------------------------------------------------------ | |
|
|
|
|
| ------------------------------------------- | ------------------ | ------------------------------------------------------------ | |
|
|
|
|
| addAdvancedMsgListener | 添加消息监听 | | |
|
|
|
|
| removeAdvancedMsgListener | 移除消息监听 | | |
|
|
|
|
| setMsgSendProgressListener | 消息发送进度监听 | | |
|
|
|
@ -226,8 +226,10 @@ OpenIM.iMManager.logout(); |
|
|
|
|
| deleteMessageFromLocalStorage | 删除消息 | | |
|
|
|
|
| insertSingleMessageToLocalStorage | 插入消息 | | |
|
|
|
|
| findMessages | 根据消息id查询消息 | messageIDList:消息id集合 | |
|
|
|
|
| markSingleMessageHasRead | 标记消息为已读 | | |
|
|
|
|
| markGroupMessageHasRead | 标记消息为已读 | | |
|
|
|
|
| markSingleMessageHasRead | 标记单聊消息为已读 | | |
|
|
|
|
| markGroupMessageHasRead | 标记群聊消息为已读 | | |
|
|
|
|
| <font color=red>markC2CMessageAsRead</font> | 标记c2c消息已读 | | |
|
|
|
|
| <font color=red>typingStatusUpdate</font> | 正在输入提示 | | |
|
|
|
|
| createTextMessage | 创建文本消息 | text:输入的内容 | |
|
|
|
|
| createTextAtMessage | 创建at消息 | atUidList:被@的用户id集合 | |
|
|
|
|
| createImageMessage | 创建图片消息 | imagePath:路径 | |
|
|
|
|