ConversationRepo class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- onUserInfoUpdated → dynamic
-
no setter
- 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 sessionId, NIMSessionType sessionType, String ext) → Future< NIMStickTopSessionInfo?> - 会话置顶
-
deleteSession(
String sessionId, NIMSessionType sessionType, NIMSessionDeleteType deleteType, bool sendAck, {bool deleteHistory = false}) → Future< NIMResult< void> > - 删除会话
-
fillSessionInfo(
List< NIMSession> ? infoList, {bool fillUserInfo = true}) → Future<List< ConversationInfo> ?> - 补充会话信息,会话列表中的个人信息和群组信息都在这里填充
-
getMsgUnreadCount(
) → Future< NIMResult< int> > - 获取消息未读数
-
getSessionList(
Comparator< ConversationInfo> comparator) → Future<List< ConversationInfo> ?> - 查询会话列表,支持传入Comparator对会话列表进行排序
-
registerAddStickTopObserver(
) → Stream< NIMStickTopSessionInfo> - 注册会话置顶变化监听器
-
registerFriendMuteObserver(
) → dynamic - 注册好友消息不提醒变化监听器
-
registerFriendObserver(
) → Stream< List< NIMFriend> > - 注册好友信息变化监听器
-
registerRemoveStickTopObserver(
) → Stream< NIMStickTopSessionInfo> - 注册置顶移除变化监听器
-
registerSessionChangedObserver(
) → Stream< List< NIMSession> > - 注册会话变化监听器
-
registerSessionDeleteObserver(
) → Stream< NIMSession?> - 注册会话删除监听器
-
registerSyncStickTopObserver(
) → Stream< List< NIMStickTopSessionInfo> > - 注册置顶变更多端同步监听器
-
registerTeamUpdateObserver(
) → Stream< List< NIMTeam> > - 注册群组信息变化监听器
-
registerUserInfoObserver(
) → Stream< List< NIMUser> > - 注册用户信息变化监听器
-
removeStickTop(
String sessionId, NIMSessionType sessionType, String ext) → Future< bool> - 移除置顶