Skip to content

@camera.ui/sdk / plugin / API_EVENT

Enumeration: API_EVENT

Defined in: plugin/api.ts:7

Lifecycle events emitted on the PluginAPI EventEmitter. Plugins subscribe with api.on(API_EVENT.X, handler) to react to host-driven phase changes.

Enumeration Members

FINISH_LAUNCHING

FINISH_LAUNCHING: "finishLaunching"

Defined in: plugin/api.ts:9

Emitted once after every assigned camera is wired up and configureCameras() returned. Start timers and warm-ups here.


SHUTDOWN

SHUTDOWN: "shutdown"

Defined in: plugin/api.ts:11

Emitted when the host tears the plugin down. Release files, sockets, timers and child processes now.