PixaRuntimeContract.hostLinkedPluginModule constructor

const PixaRuntimeContract.hostLinkedPluginModule({
  1. required String moduleId,
  2. required String? entrypointSymbol,
  3. String? packageName,
  4. String? implementationLanguage,
  5. int abiVersion = 1,
  6. bool hostManagedRuntime = true,
  7. bool binaryMessages = true,
  8. bool ownedBuffers = true,
  9. bool streamHandles = true,
})

Creates a descriptor for a plugin linked into Pixa's host binary.

Implementation

const PixaRuntimeContract.hostLinkedPluginModule({
  required this.moduleId,
  required this.entrypointSymbol,
  this.packageName,
  this.implementationLanguage,
  this.abiVersion = 1,
  this.hostManagedRuntime = true,
  this.binaryMessages = true,
  this.ownedBuffers = true,
  this.streamHandles = true,
}) : deployment = PixaRuntimeDeployment.hostLinkedPluginModule,
     assetId = null;