NIMChatCache class

全局的单个会话缓存 统一维护会话的用户信息,群信息,群成员信息,pin消息

Properties

contactInfo → dynamic
no setter
contactInfoNotifier → dynamic
no setter
currentChatIdNotifier → dynamic
no setter
currentChatSession ChatSession?
no setter
hashCode int
The hash code for this object.
no setterinherited
pinnedMessages → dynamic
no setter
pinnedMessagesNotifier → dynamic
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subscriptions List<StreamSubscription>
final
teamInfo → dynamic
no setter
teamInfoNotifier → dynamic
no setter
teamMembers → dynamic
no setter
teamMembersNotifier → dynamic
no setter
wight int
设置的次数,解决因为chat_page 生命周期导致的问题
getter/setter pair

Methods

addPin(NIMMessage message) → void
clearCurrentChatSession(String sessionId, NIMSessionType sessionType) → void
fetchTeamMember(String tId) → void
获取群成员
getTeamManagers() List<UserInfoWithTeam>?
getTeamMember(String account, String tid) UserInfoWithTeam?
hasPrivilegeToInvite() bool
hasPrivilegeToModify() bool
是否有权限修改群信息
haveAitAllPrivilege() bool
myTeamRole() → TeamMemberType?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removePin(NIMMessage pin) → void
setCurrentChatSession(ChatSession chatSession) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance NIMChatCache
getter/setter pair

Constants

logTag → const String