注册

环信3.x中 如何获取数据库中数据

如何打开数据库 展示之前的聊天记录
已邀请:
消息都是存在会话中的, 调用
/*!
 *  \~chinese
 *  从数据库中获取所有的会话,执行后会更新内存中的会话列表
 *  
 *  同步方法,会阻塞当前线程
 *
 *  @result 会话列表<EMConversation>
 *
 *  \~english
 *  Load all conversations from DB, will update conversation list in memory after this method is called
 *
 *  Synchronization method will block the current thread
 *
 *  @result Conversation list<EMConversation>
 */
- (NSArray *)loadAllConversationsFromDB;

要回复问题请先登录注册