NIMSDK-AOS  9.17.0
QChatMessageService.java
浏览该文件的文档.
1 package com.netease.nimlib.sdk.qchat;
2 
3 import androidx.annotation.NonNull;
4 
5 import com.netease.nimlib.apt.annotation.NIMService;
52 
53 import java.util.List;
54 
55 @NIMService("圈组消息服务")
56 public interface QChatMessageService {
57 
64 
71 
78 
85  AbortableFuture<Void> downloadAttachment(QChatDownloadAttachmentParam param);
86 
93 
100 
107 
114 
121  InvocationFuture<Void> markMessageRead(@NonNull QChatMarkMessageReadParam param);
122 
129 
136 
143 
149  InvocationFuture<Void> markSystemNotificationsRead(@NonNull QChatMarkSystemNotificationsReadParam param);
150 
154  void clearMsgNotify();
155 
162 
175 
182 
188  InvocationFuture<Void> addQuickComment(@NonNull QChatAddQuickCommentParam param);
189 
195  InvocationFuture<Void> removeQuickComment(@NonNull QChatRemoveQuickCommentParam param);
196 
203 
211 
218  InvocationFuture<List<QChatMessageCache>> getMessageCache(long qchatServerId, long qchatChannelId);
219 
226  List<QChatMessageCache> getMessageCacheBlock(long qchatServerId, long qchatChannelId);
227 
231  void clearMessageCache();
232 
240 
241 
248 
255 
262 
269 
281  boolean insertOrReplaceTextCache(long serverId, long channelId, @NonNull String value);
282 
297  boolean deleteTextCache(long serverId, long channelId);
298 
299 
308  String getTextCache(long serverId, long channelId);
309 }
可中断操作的调用跟踪接口。