Private ReadonlymessagePrivatesessionPrivate ReadonlydebugPrivate ReadonlyallowedPrivate ReadonlytargetPrivate ReadonlymessageSend vowReadyNotification to the host.
Call this after registering all handlers (especially onStartCommand).
After this notification the host may send a vowStartCommand – but this
is not guaranteed. Some widgets (e.g. a static display) do not require a
start command to function.
Notification payload (metadata string required by spec)
Send vowStateChangedNotification to the host whenever the widget state changes.
Sending this notification is optional – it is only useful when intermediate
save-points are desired (e.g. for logging). The host uses timeStamp to
establish the correct ordering of asynchronously arriving messages.
Requires an active session (i.e. onStartCommand must have fired with a sessionId).
Optionalstate: stringSerialised widget state (string). Format is widget-specific.
OptionalsharedParameters: MainSchema.SharedParameter[]Optional shared parameters
Send vowReturnRequested to the host to request closing the widget dialog.
Requires an active session (i.e. onStartCommand must have fired with a sessionId).
Optionalstate: stringSerialised widget state (string). Format is widget-specific.
OptionalsharedParameters: MainSchema.SharedParameter[]Optional shared parameters
Controls whether the state changes should be applied (saved) by the
host, or discarded. true means "save & close", false means
"cancel / close without saving". Default: true
Register a handler for vowStartCommand.
Registering this handler is optional – not all widgets require a start command (e.g. a static display with no data dependency). When a command arrives, the session ID (if present) is stored automatically before your callback is invoked.
Register this handler before calling sendReady().
Called with the full start-command payload
Verona Widget Interface Handles communication between widget and host application.
Lifecycle