NoOpOnyxApi
Explicit non-Onyx fallback that never pretends a firmware operation succeeded.
Functions
Link copied to clipboard
open suspend override fun acquireTransientMode(mode: TransientUpdateMode = TransientUpdateMode.ANIMATION_QUALITY): Result<RefreshModeToken>
Returns an unsupported-capability failure without acquiring firmware state.
Link copied to clipboard
open suspend override fun attach(surfaceView: SurfaceView, lifecycleOwner: LifecycleOwner, configuration: RawInkConfiguration, leasePolicy: LeasePolicy): Result<PenSession>
Returns an unsupported-capability failure without opening a pen session.
Link copied to clipboard
suspend fun PenSessionFactory.attach(surfaceView: SurfaceView, lifecycleOwner: LifecycleOwner, configuration: RawInkConfiguration = RawInkConfiguration()): Result<PenSession>
Attaches with fail-fast process ownership unless the caller requests another lease policy.
Link copied to clipboard
open suspend override fun capabilities(surfaceView: SurfaceView?, probeMode: CapabilityProbeMode): Result<OnyxDeviceCapabilities>
Returns an unsupported-capability failure without probing firmware.
Link copied to clipboard
suspend fun CapabilityProvider.capabilities(surfaceView: SurfaceView? = null): Result<OnyxDeviceCapabilities>
Ergonomic passive probe while retaining SAM-convertible injectable interfaces.
Link copied to clipboard
open suspend override fun refresh(view: View, mode: EpdUpdateMode, scope: RefreshScope = RefreshScope.FullView, timeout: Duration = 2.seconds): Result<RefreshReceipt>
Returns an unsupported-capability failure without dispatching a refresh.