PatchbayRevealBridge class final
identifier 锚定的 scroll-to-reveal,debug 构建可用。
未注入 reveal policy 即不可达,且不进 catalog:升级 package 不会让任何
现有 App 多出一条命令,接入方必须显式写下 reveal policy 才拿得到它。
enabled 与 PatchbayGestureBridge.enabled 逐字同形;uiRevealDisabled
是直接调 bridge 时的防御纵深。
Constructors
- PatchbayRevealBridge({required PatchbayGateEvaluator gates, required PatchbaySemanticsBridge semantics, required PatchbayFrameObserver frames, PatchbayRevealPolicy? policy, bool isAppResumed()?, PatchbayLifecycleStateReader? lifecycleState, String newRequestId()?})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reveal(
{required String identifier, String? container, PatchbayRevealDirection direction = PatchbayRevealDirection.both, int maxSteps = PatchbayRevealBudget.defaultSteps, int timeoutMs = PatchbayRevealBudget.defaultTimeoutMs, String? requestId}) → Future< PatchbayInvocation> -
把
identifier驱动到已挂载且露出,返回后续写命令该带的generation与该走哪条 tap 通道的reachability。 -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited