T

PluginContext

What the addon manager passes to a plugin's start.

type PluginContext = { … }

Members

The capabilities the manifest declares for this platform; native allows only these.

The 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(): void

Releases the plugin's hooks, surfaces, handles and subscriptions; the addon manager calls it on stop, unload, reload or a failed start.