ConversationRepo class
Properties
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- 
  subscriptions
  → List<StreamSubscription?> 
- 
  
  final
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited
Static Properties
- instance ↔ ConversationRepo
- 
  
  getter/setter pair
- syncLimit ↔ int
- 
  开启异步回调的session 数量阀值
  getter/setter pair
Static Methods
- 
  addStickTop(String conversationId) → Future< NIMResult< void> >
- 会话置顶
- 
  clearSessionUnreadCount(String conversationId) → dynamic 
- 清除当前会话的未读数
- 
  deleteConversation(String conversationId, bool clearMessage) → void 
- 删除会话
- 
  getConversation(String conversationId) → Future< NIMResult< NIMConversation> >
- 根据会话ID获取会话信息
- 
  getConversationList(int offset, int limit) → Future< NIMConversationResult?> 
- 查询会话列表,支持传入Comparator对会话列表进行排序
- 
  getConversationListByIds(List< String> conversationIds) → Future<NIMResult< List< >NIMConversation> >
- 根据会话ID获取会话列表
- 
  getMsgUnreadCount() → Future< NIMResult< int> >
- 获取消息未读数
- 
  onConversationChanged() → Stream< List< NIMConversation> >
- 会话更新
- 
  onConversationCreated() → Stream< NIMConversation> 
- 会话创建
- 
  onConversationDeleted() → Stream< List< String> >
- 会话删除
- 
  onConversationReadTimeUpdated() → Stream< ReadTimeUpdateResult> 
- 账号多端登录会话已读时间戳标记通知 账号A登录设备D1, D2, D1会话已读时间戳标记,同步到D2成
- 
  onSyncFailed() → Stream< void> 
- 会话同步失败
- 
  onSyncFinished() → Stream< void> 
- 会话同步完成
- 
  onSyncStarted() → Stream< void> 
- 会话同步开始
- 
  onTotalUnreadCountChanged() → Stream< int> 
- 会话未读消息计数更新
- 
  onUnreadCountChangedByFilter() → Stream< UnreadChangeFilterResult> 
- 未读数改变回调
- 
  removeStickTop(String conversationId) → Future< NIMResult< void> >
- 移除置顶
- 
  setCurrentConversation(String conversationId) → Future< NIMResult< void> >
- 设置当前会话
- 
  stickTopConversation(String conversationId, bool stickTop) → Future< NIMResult< void> >
- 会话置顶操作