Package-level declarations
Types
Link copied to clipboard
class FakePenSession(commitHandler: suspend (bitmap: Bitmap, destination: Rect, dirtyRegion: Rect, options: CommitOptions) -> Result<CommitReceipt> = { _, _, _, _ ->
Result.failure(
OnyxFailure.UnsupportedCapability(
"fake.commit",
null,
"No commit result was configured for FakePenSession",
),
)
}) : PenSession
Deterministic consumer-facing test double; it performs no Android firmware calls.
Link copied to clipboard
Explicit non-Onyx fallback that never pretends a firmware operation succeeded.