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
- 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.
- RitoPendingExactSeekDriver
- Drives an exact-locator continuation one asynchronous host turn at a time. Only the typed exact-seek-pending status is retryable; target-not-published and every other status are terminal. Public only so deterministic adapter tests can use a fake transport.
- 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 consume additional native request IDs while cooperatively resolving an exact open or seek.
- RitoSemanticNode
- RitoSourcePoint
- RitoSourceRange
- RitoTextRunOffset
- RitoWorkBudget
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
- ritoNativeStatusAdjacentPendingV1 → const int
- ritoNativeStatusAlreadyExistsV1 → const int
- ritoNativeStatusBusyV1 → const int
- ritoNativeStatusEngineErrorV1 → const int
- ritoNativeStatusExactSeekPendingV1 → const int
- ritoNativeStatusInvalidArgumentV1 → const int
- ritoNativeStatusNotFoundV1 → const int
- ritoNativeStatusPanicV1 → const int
- ritoNativeStatusSessionTerminatedV1 → const int
- ritoNativeStatusStaleRequestV1 → const int
- ritoNativeStatusTargetNotPublishedV1 → const int
- ritoNativeStatusUnsupportedProfileV1 → const int
- ritoPendingAdjacentContinuationCapV1 → const int
- ritoPendingExactSeekContinuationCapV1 → 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
- RitoPendingExactSeekLimitException
- A resumable native exact seek exceeded the finite continuation bound.