PixaRuntimeContract class final

Stable runtime ABI contract used by plugin implementations.

Constructors

PixaRuntimeContract.assetModule({required String moduleId, required String? assetId, required String? entrypointSymbol, String? packageName, String? implementationLanguage, int abiVersion = 1, bool hostManagedRuntime = true, bool binaryMessages = true, bool ownedBuffers = true, bool streamHandles = true})
Creates a descriptor for an asset module using Pixa's host ABI.
const
PixaRuntimeContract.builtInHostModule({required String moduleId, int abiVersion = 1, String? packageName, String? implementationLanguage, bool hostManagedRuntime = true, bool binaryMessages = true, bool ownedBuffers = true, bool streamHandles = true})
Creates a descriptor for a module compiled into Pixa's runtime.
const
PixaRuntimeContract.hostLinkedPluginModule({required String moduleId, required String? entrypointSymbol, String? packageName, String? implementationLanguage, int abiVersion = 1, bool hostManagedRuntime = true, bool binaryMessages = true, bool ownedBuffers = true, bool streamHandles = true})
Creates a descriptor for a plugin linked into Pixa's host binary.
const

Properties

abiVersion int
ABI version understood by the Pixa runtime host.
final
assetId String?
Library asset id when deployment is assetModule.
final
binaryMessages bool
Whether control payloads use compact binary messages rather than JSON.
final
canLinkIntoHostBinary bool
Whether this module can be folded into Pixa's single runtime host binary.
no setter
deployment PixaRuntimeDeployment
Deployment shape for this runtime module.
final
entrypointSymbol String?
ABI entrypoint symbol when deployment is assetModule.
final
hashCode int
The hash code for this object.
no setterinherited
hostManagedRuntime bool
Whether scheduling, cancellation, progress and cache ownership stay in Pixa.
final
implementationLanguage String?
Implementation language label for diagnostics, not for dispatch.
final
moduleId String
Stable module id inside the Pixa runtime host.
final
ownedBuffers bool
Whether large returned buffers use explicit ownership and explicit release.
final
packageName String?
Dart package or runtime module package that contributed the module.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
streamHandles bool
Whether large input/output streams can be passed by handle.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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