rito_flutter_native library
Low-level Native Assets bindings and isolate gateway APIs for embedders.
Classes
- RitoAdjacentAvailability
- RitoAdjacentDirection
- RitoAdjacentRequest
- RitoArtifact
- RitoArtifactDecoder
- RitoArtifactRequest
- RitoBackgroundAdvance
- RitoBackgroundHandoff
- RitoBackgroundHandoffAck
- RitoBackgroundRequest
- RitoDisplayListPayload
-
The artifact's paint: its display commands lowered to the host's
device grid, carried as the
RITODL1format-2 primitive list. - RitoDynamicLibrarySource
- RitoFontRef
- RitoForegroundHandoff
- RitoForegroundHandoffAck
- RitoHitEntry
- RitoIsolateGateway
- Runs EPUB parsing, CSS, layout, resource access, release and disposal away from Flutter's UI isolate. Large typed-wire payloads use Dart's transferable isolate transport and are decoded only after the receiver materializes them. This avoids an isolate-message copy; it is not an end-to-end zero-copy claim across caller buffers, FFI allocation, and Rust ownership.
- RitoLayoutRequest
- RitoLocator
- RitoNativeBindings
-
Blocking C ABI binding. Applications should normally use
RitoIsolateGateway, which constructs this binding on a worker isolate. - RitoPage
- RitoPendingAdjacentDriver
- Advances one retained adjacent intent by one quantum per asynchronous host turn. Only the dedicated adjacent-pending status is retryable.
- RitoPinnedFontFace
- One host-pinned measurement fallback face.
- RitoPinnedFontPolicy
- Version-one pinned fallback face set supplied on session open. The measurement and paint fallback faces a host pins for a session.
- RitoPublication
- RitoPublicationMetadata
- RitoPublicationSpineItem
- RitoPublicationTocEntry
- RitoPublicationTocExternalTarget
- RitoPublicationTocLocatorTarget
- RitoPublicationTocTarget
- RitoPublicationTocUnresolvedTarget
- RitoReaderGateway
- RitoRect
- RitoResource
- RitoResourceDecoder
- RitoResourceRef
- RitoResumableAdjacentGateway
- Marker contract for gateways that consume strictly newer native request IDs while cooperatively resolving one retained adjacent intent.
- RitoResumableExactSeekGateway
- Marker contract for gateways that may send an exact open or seek under a strictly newer native request ID than the caller's. The gateway substitutes one when the caller's ID was already consumed on the native side (an adjacent continuation the session has not learned about yet consumes IDs), so the returned artifact carries the substituted ID and the session adopts it as its new request baseline.
- RitoSemanticNode
- RitoSourcePoint
- RitoSourceRange
- RitoTextRunOffset
Enums
- RitoBackgroundState
- RitoDynamicLibraryKind
- RitoLocatorMatch
- RitoPinnedFontGenericRole
- Generic CSS family role occupied by one pinned fallback face (runtime pinned-font policy schema v1). Which generic keyword a pinned face serves.
- RitoResourceKind
- RitoSemanticRole
- RitoSpreadMode
- RitoTextProfile
Constants
- ritoNativeStatusAdjacentPending → const int
- ritoNativeStatusAlreadyExists → const int
- ritoNativeStatusBusy → const int
- ritoNativeStatusEngineError → const int
- ritoNativeStatusInvalidArgument → const int
- ritoNativeStatusNotFound → const int
- ritoNativeStatusPanic → const int
- ritoNativeStatusSessionTerminated → const int
- ritoNativeStatusStaleRequest → const int
- ritoNativeStatusTargetNotPublished → const int
- ritoNativeStatusUnsupportedProfile → const int
- ritoPendingAdjacentContinuationCap → const int
Exceptions / Errors
- RitoNativeException
- RitoNativeSessionInvalidatedException
- The native session was invalidated because ownership cleanup failed.
- RitoNativeWorkerTerminatedException
- Raised when the native worker terminates before acknowledging an operation.
- A navigation request that was replaced by newer intent.
- RitoPendingAdjacentLimitException