RitoReaderGateway class abstract interface

Implementers

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

adoptBackground({required RitoBackgroundHandoff handoff}) → Future<RitoBackgroundHandoffAck>
adoptForeground({required RitoForegroundHandoff handoff}) → Future<RitoForegroundHandoffAck>
advanceBackground({required RitoBackgroundRequest request}) → Future<RitoBackgroundAdvance>
commitPeeked({required RitoForegroundHandoff handoff, required int intentRequestId}) → Future<RitoForegroundHandoffAck>
Commits an artifact previously produced by peekAdjacent as the visible foreground with a CAS and zero layout work.
dispose({required int sessionId}) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
open({required Uint8List publicationBytes, required RitoArtifactRequest request, RitoPinnedFontPolicy? pinnedFontPolicy}) → Future<RitoArtifact>
peekAdjacent({required RitoAdjacentRequest request}) → Future<RitoArtifact?>
Publishes the adjacent spread as a read-only artifact when its layout already exists — no visible-state change, no pending navigation, no layout work. Returns null when the neighbor is not peekable yet (it would need layout). The artifact occupies a live slot and must be released.
readFootnote({required int sessionId, required int artifactId, required String key}) → Future<RitoFootnote>
Reads a footnote definition an artifact referenced. key is the hit's canonical footnoteKey verbatim.
readPublication({required int sessionId}) → Future<RitoPublication>
readResource({required int sessionId, required int artifactId, required RitoResourceKind kind, required String href}) → Future<RitoResource>
releaseArtifact({required int sessionId, required int artifactId}) → Future<void>
requestAdjacent({required RitoAdjacentRequest request}) → Future<RitoArtifact>
requestArtifact({required RitoArtifactRequest request}) → Future<RitoArtifact>
Searches the revision behind an artifact.
textRangeGeometry({required RitoTextRangeRequest request}) → Future<RitoTextRangeGeometry>
Resolves where a text range sits on one of an artifact's pages.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited