T
PluginContext
What the addon manager passes to a plugin's start.
type PluginContext = { … }Members
readonly capabilities
readonly NativeBridgeCapability[]The capabilities the manifest declares for this platform; native allows only these.
readonly id
stringThe plugin's id, from its manifest.
The plugin's manifest.
The native bridge, scoped to the plugin's capabilities.
The host platform, or undefined when the loader reports none.
dispose
(): voidReleases the plugin's hooks, surfaces, handles and subscriptions; the addon manager calls it on stop, unload, reload or a failed start.