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: October 8, 2026 at 10:45 AMEdit this page