rcim_flutter_ffi library

Classes

PushCoordinator
推送协调器的平台无关契约。
PushCoordinatorBase
各平台协调器共享的状态机。
PushPlatformRegistry
平台推送实现注册表。
PushStartContext
启动推送链路所需的上下文,用于吸收各平台 start 签名的差异。
PushToken
归一化后的推送 token。
PushTokenSink
协调器向引擎回传 token 的唯一出口。
RSIMAndroidConfig
RSIMAppSettings
RSIMAreaCode
RSIMBlacklistStatus
RSIMBoolFilter
RSIMChatroomInfo
RSIMChatroomJoinedInfo
RSIMChatroomKvError
RSIMChatroomKvInfo
RSIMChatroomMemberActionInfo
RSIMChatroomMemberBannedInfo
RSIMChatroomMemberBlockedInfo
RSIMChatroomMemberChangeInfo
RSIMChatroomMultiClientSyncInfo
RSIMChatroomUserInfo
RSIMCloudType
RSIMCommonKv
RSIMCommonKvInfo
RSIMConnectionStatus
RSIMConversation
RSIMConversationAttribute
RSIMConversationIdentifier
RSIMConversationIdentifierFilterParameter
RSIMConversationStatusChangedItem
RSIMConversationTagChangeItem
RSIMConversationTagInfo
RSIMConversationType
RSIMConversationUnreadFilter
RSIMDataFetchMode
RSIMDataManagementInfo
RcimDataManagementInfo:会话托管信息(会话名称与头像)。
RSIMDeviceInfo
RSIMDeviceOnlineStatus
RSIMDisconnectMode
RSIMDownloadInfo
RSIMEngine
RSIMEngineBuilder
RSIMEngineErrorCode
Modern 对外接口返回的 Rust RcimEngineError 原生错误码。
RSIMError
统一的错误模型。
RSIMFilterReadStatus
RSIMFilterRobotType
RSIMFirstUnreadMessage
RSIMFriendApplicationInfo
RSIMFriendInfo
RSIMFriendRelationInfo
RSIMFriendRequestListResult
RSIMGetConversationListOption
RSIMGetMessagesByUidParams
RSIMGroupExtraInfo
RSIMGroupFavoriteMemberChangedEvent
RSIMGroupFavoriteMemberInfo
RSIMGroupInfo
RSIMGroupInfoChangedEvent
RSIMGroupInfoFetchMode
RSIMGroupInfoResult
RSIMGroupInviteHandlePermission
RSIMGroupJoinPermission
RSIMGroupMemberInfo
RSIMGroupMemberInfoChangedEvent
RSIMGroupMemberInfoEditPermission
RSIMGroupMemberInfoResult
RSIMGroupMemberJoinStatus
RSIMGroupMemberMuteType
RSIMGroupMemberRole
RSIMGroupMuteType
RSIMGroupMuteWhitelistChangedEvent
RSIMGroupOperationChangedEvent
RSIMGroupOperationInfo
RSIMGroupOperationPermission
RSIMGroupOperationResult
RSIMGroupOperationType
RSIMGroupQuitConfig
RSIMGroupRemarkChangedEvent
RSIMGroupRequestDirection
RSIMGroupRequestInfo
RSIMGroupRequestStatus
RSIMGroupRequestType
RSIMGroupStatus
RSIMHarmonyConfig
RSIMHostResolveResult
业务域名自定义解析结果。
RSIMInsertLogInfo
RSIMInsertStatInfo
RSIMIosConfig
RSIMMessage
RSIMMessageBlockInfo
RSIMMessageBlockSourceType
RSIMMessageBlockType
RSIMMessageByUidResult
RSIMMessageCountDetail
RSIMMessageCountDetailOptions
RSIMMessageDestructingEvent
RSIMMessageDirection
RSIMMessageExpansionKvInfo
RSIMMessageFlag
RSIMMessageIdentifier
RSIMMessageModifyInfo
RcimMessageModifyInfo:消息修改(编辑)信息。
RSIMMessagePage
RSIMMessageReaction
RSIMMessageReactionEventData
RSIMMessageReactionInfo
RSIMMessageReactionPage
RSIMMessageReactionParams
RSIMMessageReactionUser
RSIMMessageReactionUserPage
RSIMMessageReceivedEvent
RSIMMessageSearchResult
RSIMMessageType
RSIMModifyMessageDraft
RSIMModifyMessageParams
RSIMNoDisturbing
RSIMOrder
RSIMPagedGroupInfo
RSIMPagedGroupInfoResult
RSIMPagedGroupMemberInfo
RSIMPagedGroupMemberInfoResult
RSIMPagedGroupRequestInfo
RSIMPlatformOnlineStatus
RSIMPushConfig
RSIMPushNotificationMuteLevel
RSIMPushTokenInfo
RSIMQuoteInfo
RcimQuoteInfo:消息引用(引用回复)信息。
RSIMReadReceiptInfo
RcimReadReceiptInfo:旧版已读回执信息。
RSIMReadReceiptInfoV2
RcimReadReceiptInfoV2:V2 版已读回执信息。
RSIMReadReceiptInfoV5
RSIMReadReceiptNotifyV5
RSIMReadReceiptRequestEvent
RSIMReadReceiptResponseEvent
RSIMReadReceiptResponseV2Event
RSIMReadReceiptUserInfo
RSIMReadReceiptUsersResultV5
RSIMReadReceiptV2ReaderInfo
RSIMReadReceiptV2ReadersResult
RSIMRecallMessageOption
RSIMRecallNotificationMessage
RSIMReceivedInfo
RSIMReceivedStatus
RSIMRefreshReferenceMessageEvent
RSIMRefreshReferenceMessageResult
RSIMRemoveDeviceType
RSIMResult<T>
统一的成功/失败结果,不使用异常传播可预期错误。
RSIMRobotInfo
RSIMRobotInfoFetchMode
RSIMRobotMetadata
RSIMRobotSyncEvent
RSIMRtcHeartbeatSendEvent
RSIMRtcHeartbeatSendResultEvent
RSIMRtcKvSignalingEvent
RSIMRtcMeetingEvent
RSIMRtcRoomEvent
RSIMSDKVersion
RSIMSearchGroupMemberType
RSIMSearchGroupType
RSIMSearchMessageConversationFilter
RSIMSearchMessageFilter
RSIMSearchMessageParams
RSIMSearchMessageTimeRange
RSIMSendMessageOption
RSIMSendMessageResult
RSIMSendReadReceiptResponseMessageData
RSIMSentStatus
RSIMSpeechToTextInfo
RSIMSpeechToTextStatus
RSIMStreamMessageRequestEvent
RSIMStreamMessageRequestParams
RSIMSubscribeEventDetail
RSIMSubscribeEventRequest
RSIMSubscribeInfoEvent
RSIMSubscribeOperationType
RSIMSubscribeType
RSIMSubscribeUserOnlineStatus
RSIMTagInfo
RSIMTranslateInfo
RSIMTranslateItem
RSIMTranslateMessageParam
RSIMTranslateMessageParams
RSIMTranslateTextParam
RSIMTranslateTextParams
RSIMTypingStatus
RSIMUltraGroupBatchMessages
RSIMUltraGroupChannelChange
RSIMUltraGroupChannelType
RSIMUltraGroupConversation
RSIMUltraGroupConversationUnreadInfo
RSIMUltraGroupMessageDigest
RSIMUltraGroupReadTimeEvent
RSIMUltraGroupTypingStatus
RSIMUltraGroupTypingStatusInfo
RSIMUltraGroupUserGroupEvent
RSIMUserGender
RSIMUserOperationType
RSIMUserProfile
RSIMUserProfileFetchMode
RSIMUserProfileVisibility

Enums

PushConnectionStatus
引擎连接状态的推送侧视图。
PushPlatformKind
具备推送 token 链路的平台实现种类。
RSIMAppState
RSIMBridgeErrorCode
桥接层自定义错误码。
RSIMErrorSource
错误来源分类。
RSIMFriendListenerKind
RSIMLogLevel
日志等级,对应 C ABI RcimLogLevel。
RSIMLogSource
日志来源,对应 C ABI RcimLogSource。
RSIMLogType
日志业务类型,对应 C ABI RcimLogType。
RSIMNetworkType
RSIMPlatform
RSIMRefreshReferenceMessageEventKind
RSIMTranslateMode
RSIMTranslateResultType
RSIMTranslateStatus
RSIMTranslateStrategy

Constants

rsimCoreModuleName → const String
Rust 通信内核的模块标识。
rsimDefaultPackageName → const String
取不到应用包名时的兜底值。
rsimWrapperModuleName → const String
Flutter wrapper(IMLib,无 UI)的模块标识,供服务端大数据识别接入方式。
rsimWrapperSdkVersion → const String
当前 Flutter wrapper 的版本号,构建期由 SDK_VERSION 注入。

Properties

debugLifecycleObserverActive → bool
仅供测试:进程级生命周期观察者是否已注册。
no setter
debugNetworkSubscriptionActive → bool
仅供测试:进程级 connectivity_plus 订阅是否仍然存活。
no setter
debugNetworkSubscriptionCount → int
仅供测试:进程内建立 connectivity_plus 订阅的累计次数。 反复销毁/新建引擎时这里必须保持为 1。
no setter
debugRegisteredMonitorCount → int
仅供测试:当前已注册的引擎监听数量。
no setter

Functions

reportRSIMDiagnostic(RSIMError error) → void
Reports adapter failures through the same protected diagnostic boundary.
resolveEngineCloudType(String cloudType) → int
把构建期云类型 RSIMBuildConfig.cloudType(108/106/104)映射为 RcimCloudType ABI 取值。
setRSIMDiagnosticListener(RSIMDiagnosticListener? listener) → void
安装诊断监听器(进程级,供 SDK 与业务采集排查线索)。
setRSIMRuntimeEventObservers(RSIMEngine engine, {void onAppStateChanged(RSIMAppState state)?, void onNetworkChanged(RSIMNetworkType network)?}) → void
由上层适配器注入平台事件观察点。

Typedefs

PushCoordinatorBuilder = PushCoordinator Function(PushTokenSink sink)
构造平台协调器:由平台实现包在注册时提供。
RSIMBlackListOperationCallback = RSIMResultCallback<void>
RSIMBoolCallback = RSIMResultCallback<bool>
RSIMChatroomKvCallback = RSIMResultCallback<List<RSIMChatroomKvError>>
RSIMChatroomKvChangedListener = void Function(String roomId, List<RSIMChatroomKvInfo> values)
RSIMChatroomKvDeleteListener = void Function(String roomId, List<RSIMChatroomKvInfo> values)
RSIMChatroomKvGetCallback = RSIMResultCallback<List<RSIMChatroomKvInfo>>
RSIMChatroomKvSyncListener = void Function(String roomId)
RSIMChatroomMemberBannedListener = void Function(RSIMChatroomMemberBannedInfo info)
RSIMChatroomMemberBlockedListener = void Function(RSIMChatroomMemberBlockedInfo info)
RSIMChatroomMemberChangedListener = void Function(RSIMChatroomMemberChangeInfo info)
RSIMChatroomMultiClientSyncListener = void Function(RSIMChatroomMultiClientSyncInfo info)
RSIMChatroomOperationCallback = RSIMResultCallback<void>
RSIMChatroomStatusListener = void Function(int code, String roomId, int status, RSIMChatroomJoinedInfo? info)
RSIMCheckUserIdInGroupCallback = RSIMResultCallback<List<String>>
RSIMClearConversationsByTagCallback = RSIMResultCallback<bool>
RSIMClearMessagesUnreadStatusByTagCallback = RSIMResultCallback<bool>
RSIMConnectCallback = RSIMResultCallback<String>
RSIMConnectionStatusListener = void Function(int status)
RSIMConversationCallback = RSIMResultCallback<RSIMConversation?>
RSIMConversationListCallback = RSIMResultCallback<List<RSIMConversation>>
RSIMConversationReadStatusListener = void Function(dynamic event)
RSIMConversationStatusListener = void Function(List<RSIMConversationStatusChangedItem> items)
RSIMConversationSyncListener = void Function(int status)
RSIMConversationTagListener = void Function(List<RSIMConversationTagChangeItem> items)
RSIMCountCallback = RSIMResultCallback<int>
RSIMDatabaseErrorListener = void Function(int status)
RSIMDatabaseStatusListener = void Function(int status)
RSIMDeviceOnlineStatusChangeListener = void Function(List<RSIMDeviceInfo> devices)
RSIMDiagnosticListener = void Function(RSIMError error)
RSIMDisconnectCallback = RSIMResultCallback<void>
RSIMDownloadFileProgressCallback = void Function(String uniqueId, int progress)
RSIMDownloadMediaCallback = RSIMResultCallback<String>
RSIMDownloadMessageProgressCallback = void Function(int messageId, int progress)
RSIMFriendAddListener = void Function(String userId, String name, String portraitUrl, int direction, int operationTime)
RSIMFriendClearListener = void Function(int status)
RSIMFriendDeleteListener = void Function(List<String> userIds, int direction, int operationTime)
RSIMFriendInfoChangedListener = void Function(String userId, String remark, List<RSIMCommonKv> extra, int operationTime)
RSIMFriendOperationCallback = RSIMResultCallback<void>
RSIMFriendRequestStatusListener = void Function(String userId, int requestType, int requestStatus, int direction, int operationTime, String extra)
RSIMGetAppSettingsCallback = RSIMResultCallback<RSIMAppSettings>
RSIMGetBlackListCallback = RSIMResultCallback<List<String>>
RSIMGetBlackListStatusCallback = RSIMResultCallback<int>
RSIMGetChatroomInfoCallback = RSIMResultCallback<RSIMChatroomInfo>
RSIMGetChatroomKvsCallback = RSIMResultCallback<List<RSIMChatroomKvInfo>>
RSIMGetConversationTagInfoListCallback = RSIMResultCallback<List<RSIMConversationTagInfo>>
RSIMGetConversationTypeMuteLevelCallback = RSIMResultCallback<int>
RSIMGetDevicesInfoCallback = RSIMResultCallback<List<RSIMDeviceInfo>>
RSIMGetDownloadInfoCallback = RSIMResultCallback<RSIMDownloadInfo?>
RSIMGetFirstUnreadMessagesCallback = RSIMResultCallback<List<RSIMFirstUnreadMessage>>
RSIMGetGroupFavoriteMembersCallback = RSIMResultCallback<List<RSIMGroupFavoriteMemberInfo>>
RSIMGetGroupInfoListCallback = RSIMResultCallback<List<RSIMGroupInfo>>
RSIMGetGroupMembersCallback = RSIMResultCallback<List<RSIMGroupMemberInfo>>
RSIMGetMessageCallback = RSIMResultCallback<RSIMMessage?>
RSIMGetMessageCountDetailCallback = RSIMResultCallback<List<RSIMMessageCountDetail>>
RSIMGetMessageListCallback = RSIMResultCallback<List<RSIMMessage>>
RSIMGetMessagesByUidCallback = RSIMResultCallback<List<RSIMMessageByUidResult>>
RSIMGetMessagesCallback = RSIMResultCallback<RSIMMessagePage>
RSIMGetMyUserProfileVisibilityCallback = RSIMResultCallback<int>
RSIMGetNaviDataValuesCallback = RSIMResultCallback<List<RSIMCommonKvInfo>>
RSIMGetPagedGroupMembersCallback = RSIMResultCallback<RSIMPagedGroupMemberInfo>
RSIMGetPagedGroupRequestCallback = RSIMResultCallback<RSIMPagedGroupRequestInfo>
RSIMGetPaginatedGroupInfoCallback = RSIMResultCallback<RSIMPagedGroupInfo>
RSIMGetPushContentShowStatusCallback = RSIMResultCallback<bool>
RSIMGetPushLanguageCodeCallback = RSIMResultCallback<String>
RSIMGetPushReceiveStatusCallback = RSIMResultCallback<bool>
RSIMGetRobotByIdCallback = RSIMResultCallback<RSIMRobotInfo?>
RSIMGetRobotsCallback = RSIMResultCallback<List<RSIMRobotInfo>>
RSIMGetTagInfoListCallback = RSIMResultCallback<List<RSIMTagInfo>>
RSIMGetTranslateAutomaticEnableCallback = RSIMResultCallback<bool>
RSIMGetTranslateLanguageCallback = RSIMResultCallback<String?>
RSIMGetUserProfileCallback = RSIMResultCallback<RSIMUserProfile?>
RSIMGetUserProfilesCallback = RSIMResultCallback<List<RSIMUserProfile>>
RSIMGroupFavoriteMemberChangedListener = void Function(RSIMGroupFavoriteMemberChangedEvent event)
RSIMGroupInfoChangedListener = void Function(RSIMGroupInfoChangedEvent event)
RSIMGroupMemberInfoChangedListener = void Function(RSIMGroupMemberInfoChangedEvent event)
RSIMGroupMuteWhitelistChangedListener = void Function(RSIMGroupMuteWhitelistChangedEvent event)
RSIMGroupOperationCallback = RSIMResultCallback<RSIMGroupOperationResult>
RSIMGroupOperationChangedListener = void Function(RSIMGroupOperationChangedEvent event)
RSIMGroupRemarkChangedListener = void Function(RSIMGroupRemarkChangedEvent event)
RSIMGroupRequestChangedListener = void Function(RSIMGroupRequestInfo requestInfo)
RSIMHostResolveListener = Future<List<RSIMHostResolveResult>> Function(List<String> hosts)
业务域名解析监听:收到待解析的域名列表,返回每个域名对应的 IP 列表。 未在超时窗口内返回时,本次连接按域名解析超时/失败处理,不回退系统 DNS。
RSIMInsertLocalMessageCallback = RSIMResultCallback<RSIMMessage>
RSIMJoinChatroomCallback = RSIMResultCallback<RSIMChatroomJoinedInfo>
RSIMLogListener = void Function(List logInfo)
RSIMMessageBlockedListener = void Function(RSIMMessageBlockInfo info)
RSIMMessageDestructingListener = void Function(RSIMMessageDestructingEvent event)
RSIMMessageDestructionStopListener = void Function(RSIMMessage message)
RSIMMessageExpansionRemoveListener = void Function(List<String> keys, RSIMMessage message)
RSIMMessageExpansionUpdateListener = void Function(List<RSIMMessageExpansionKvInfo> kvs, RSIMMessage message)
RSIMMessageInterceptListener = RSIMMessage? Function(RSIMMessage message)
RSIMMessageListListener = void Function(List<RSIMMessage> messages)
RSIMMessageModifiedListener = void Function(List<RSIMMessage> messages)
RSIMMessageModifiedSyncListener = void Function()
RSIMMessageNullableCallback = RSIMResultCallback<RSIMMessage?>
RSIMMessageOperationCallback = RSIMResultCallback<void>
RSIMMessageReactionListener = void Function(List<RSIMMessageReactionEventData> events)
RSIMMessageRecalledListener = void Function(RSIMMessage message)
RSIMMessageReceivedListener = void Function(RSIMMessageReceivedEvent event)
RSIMMessageSavedCallback = RSIMResultCallback<RSIMMessage>
RSIMMessageSearchableWordsListener = String? Function(String objectName, String content)
RSIMNotifyRemoteUserProfilesListener = void Function(List<RSIMUserProfile> profiles)
RSIMReadReceiptReceivedListener = void Function(RSIMMessage message)
RSIMReadReceiptRequestListener = void Function(RSIMReadReceiptRequestEvent event)
RSIMReadReceiptResponseListener = void Function(RSIMReadReceiptResponseEvent event)
RSIMReadReceiptResponseV2Listener = void Function(RSIMReadReceiptResponseV2Event event)
RSIMReadReceiptV5Listener = void Function(List<RSIMReadReceiptNotifyV5> events)
RSIMRecallMessageCallback = RSIMResultCallback<RSIMRecallNotificationMessage>
RSIMRefreshReferenceMessageCallback = void Function(RSIMResult<RSIMRefreshReferenceMessageEvent> result)
RSIMRemoveDevicesCallback = RSIMResultCallback<void>
RSIMRequestSpeechToTextByUrlCallback = RSIMResultCallback<String>
RSIMResultCallback<T> = void Function(RSIMResult<T> result)
RSIMRobotSyncListener = void Function(RSIMRobotSyncEvent event)
RSIMRtcHeartbeatSendListener = void Function(RSIMRtcHeartbeatSendEvent event)
RSIMRtcHeartbeatSendResultListener = void Function(RSIMRtcHeartbeatSendResultEvent event)
RSIMRtcKvSignalingListener = void Function(RSIMRtcKvSignalingEvent event)
RSIMRtcMeetingEventListener = void Function(RSIMRtcMeetingEvent event)
RSIMRtcOperationCallback = RSIMResultCallback<void>
RSIMRtcRequestIdCallback = RSIMResultCallback<int>
RSIMRtcRoomEventListener = void Function(RSIMRtcRoomEvent event)
RSIMRtcSetKvSignalingCallback = RSIMResultCallback<RSIMCommonKvInfo>
RSIMSearchGroupInfoResultCallback = RSIMResultCallback<RSIMPagedGroupInfoResult>
RSIMSearchGroupMemberInfoResultCallback = RSIMResultCallback<RSIMPagedGroupMemberInfoResult>
RSIMSearchMessagesCallback = RSIMResultCallback<RSIMMessageSearchResult>
RSIMSendMediaMessageProgressCallback = void Function(RSIMMessage message, int progress)
RSIMSendMessageCallback = RSIMResultCallback<RSIMSendMessageResult>
RSIMSendRtcSignalingCallback = RSIMResultCallback<Uint8List>
RSIMSimpleEngineListener = void Function()
RSIMSpeechToTextListener = void Function(String messageUid, RSIMSpeechToTextInfo? info, int code)
RSIMStreamMessageRequestEventListener = void Function(int event, RSIMMessage? message, String? chunkContent, int completeCode)
RSIMStringCallback = RSIMResultCallback<String?>
RSIMSubscribeCallback = RSIMResultCallback<List<String>>
RSIMSubscribeInfoEventCallback = RSIMResultCallback<List<RSIMSubscribeInfoEvent>>
RSIMSubscribeInfoEventListener = void Function(List<RSIMSubscribeInfoEvent> events)
RSIMSubscribeSyncCompletedListener = void Function(int status)
RSIMSubscribeUserOnlineStatusCallback = RSIMResultCallback<List<RSIMSubscribeUserOnlineStatus>>
RSIMTagListener = void Function()
RSIMTagOperationCallback = RSIMResultCallback<void>
RSIMTranslateAutomaticEnableChangedListener = void Function(bool isEnable)
RSIMTranslateLanguageChangedListener = void Function(String? language)
RSIMTranslateOperationCallback = RSIMResultCallback<void>
RSIMTranslateResultListener = void Function(List<RSIMTranslateItem> items)
RSIMTypingStatusListener = void Function(RSIMConversationIdentifier conversation, List<RSIMTypingStatus> typingStatuses)
RSIMUltraGroupCountCallback = RSIMResultCallback<int>
RSIMUltraGroupOperationCallback = RSIMResultCallback<void>
RSIMUpdateMyUserProfileCallback = RSIMResultCallback<List<String>>
RSIMUpdateMyUserProfileVisibilityCallback = RSIMResultCallback<void>
RSIMUserSettingOperationCallback = RSIMResultCallback<void>
RSIMUserSettingSyncListener = void Function(int status)