mmoo_imclient library
Classes
- ChannelInfoUpdateEvent
- ClearConversationsUnreadEvent
- ClearConversationUnreadEvent
- ClearFriendRequestUnreadEvent
- ConnectionStatusChangedEvent
- DeleteMessageEvent
- FlutterImclient
- FriendRequestUpdateEvent
- FriendUpdateEvent
- GroupInfoUpdatedEvent
- GroupMembersUpdatedEvent
- MessageDeliveriedEvent
- MessageReadedEvent
- RecallMessageEvent
- ReceiveMessagesEvent
- UserInfoUpdatedEvent
- UserSettingUpdatedEvent
Constants
- kConnectionStatusConnected → const int
- 连接成功。连接成功是在同步成功之后。
- kConnectionStatusConnecting → const int
- 连接中
- kConnectionStatusLogout → const int
- 客户端退出登录
- kConnectionStatusReceiving → const int
- 同步中。同步成功后会转入到连接成功状态。
- kConnectionStatusRejected → const int
- 用户被封禁, 出现此错误时需要退出到登录界面。
- kConnectionStatusSecretKeyMismatch → const int
- 密钥错误。一般是clientId不对,或者是连接的im跟请求token的im不是同一个环境,或者多端登录被踢出。 出现此错误时需要退出到登录界面。
- kConnectionStatusServerDown → const int
- IM服务不可达
- kConnectionStatusTokenIncorrect → const int
- token错误 出现此错误时需要退出到登录界面。
- kConnectionStatusUnconnected → const int
- 未连接成功
Typedefs
-
ChannelInfoUpdatedCallback
= void Function(List<
ChannelInfo> channelInfos) - ConnectionStatusChangedCallback = void Function(int? status)
- DeleteMessageCallback = void Function(int? messageUid)
-
FriendListUpdatedCallback
= void Function(List<
String> newFriends) -
FriendRequestListUpdatedCallback
= void Function(List<
String> newRequests) -
GroupInfoUpdatedCallback
= void Function(List<
GroupInfo?> groupInfos) -
GroupMemberUpdatedCallback
= void Function(String? groupId, List<
GroupMember> members) -
MessageDeliveriedCallback
= void Function(Map<
String, int> deliveryMap) -
MessageReadedCallback
= void Function(List<
ReadReport> readReports) - OperationFailureCallback = void Function(int? errorCode)
- OperationSuccessChannelInfoCallback = void Function(ChannelInfo channelInfo)
-
OperationSuccessChannelInfosCallback
= void Function(List<
ChannelInfo> channelInfos) - OperationSuccessChatroomInfoCallback = void Function(ChatroomInfo chatroomInfo)
- OperationSuccessChatroomMemberInfoCallback = void Function(ChatroomMemberInfo memberInfo)
-
OperationSuccessFilesCallback
= void Function(List<
FileRecord> files) - OperationSuccessGroupInfoCallback = void Function(GroupInfo groupInfo)
-
OperationSuccessGroupMembersCallback
= void Function(List<
GroupMember> members) - OperationSuccessIntCallback = void Function(int i)
- OperationSuccessIntPairCallback = void Function(int first, int second)
-
OperationSuccessMessagesCallback
= void Function(List<
Message> messages) - OperationSuccessStringCallback = void Function(String strValue)
- OperationSuccessUserInfoCallback = void Function(UserInfo userInfo)
-
OperationSuccessUserInfosCallback
= void Function(List<
UserInfo> userInfos) - OperationSuccessVoidCallback = void Function()
- RecallMessageCallback = void Function(int? messageUid)
-
ReceiveMessageCallback
= void Function(List<
Message?> messages, bool? hasMore) - SendMediaMessageProgressCallback = void Function(int? uploaded, int? total)
- SendMediaMessageUploadedCallback = void Function(String? remoteUrl)
- SendMessageSuccessCallback = void Function(int? messageUid, int? timestamp)
-
UserInfoUpdatedCallback
= void Function(List<
UserInfo?> userInfos) - UserSettingsUpdatedCallback = void Function()