PushCoordinator class abstract
推送协调器的平台无关契约。
引擎只持有这个类型;具体实现由 push_manager.dart 按运行平台从
PushPlatformRegistry 取出。
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
) → void - 引擎销毁时释放监听与缓存。
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onConnectionStatus(
PushConnectionStatus status) → void - 消费引擎已有的连接状态,用于断线重连后的补偿上报。
-
pauseForNoPush(
) → void - disconnect(false) 后停止自动上报,保留原生 token 缓存。
-
resumeForConnect(
) → void - 显式 connect 后恢复上报。
-
start(
PushStartContext context) → Future< RSIMResult< void> > - 注册监听并完成原生侧配置。
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited