UIAPI.onMessage

Sets up a message handler to receive messages from the plugin UI window.

UIAPI.onMessage() method

Sets up a message handler to receive messages from the plugin UI window.

Signature:

onMessage(pluginMessage: unknown): void;

Parameters

Parameter

Type

Description

pluginMessage

unknown

The message data received from the UI

Returns:

void

Last updated: November 10, 2026 at 8:00 PMEdit this page