rcim_wrapper_platform_interface library

rongcloud_im_wrapper_plugin 与其平台实现包之间的共享契约。

Classes

PushCoordinator
推送协调器的平台无关契约。
PushCoordinatorBase
各平台协调器共享的状态机。
PushPlatformRegistry
平台推送实现注册表。
PushStartContext
启动推送链路所需的上下文,用于吸收各平台 start 签名的差异。
PushToken
归一化后的推送 token。
PushTokenSink
协调器向引擎回传 token 的唯一出口。
RSIMError
统一的错误模型。
RSIMResult<T>
统一的成功/失败结果,不使用异常传播可预期错误。

Enums

PushConnectionStatus
引擎连接状态的推送侧视图。
PushPlatformKind
具备推送 token 链路的平台实现种类。
RSIMBridgeErrorCode
桥接层自定义错误码。
RSIMErrorSource
错误来源分类。

Functions

reportRSIMDiagnostic(RSIMError error) → void
Reports adapter failures through the same protected diagnostic boundary.
setRSIMDiagnosticListener(RSIMDiagnosticListener? listener) → void
安装诊断监听器(进程级,供 SDK 与业务采集排查线索)。

Typedefs

PushCoordinatorBuilder = PushCoordinator Function(PushTokenSink sink)
构造平台协调器:由平台实现包在注册时提供。
RSIMDiagnosticListener = void Function(RSIMError error)
RSIMResultCallback<T> = void Function(RSIMResult<T> result)