BroadcastToSystem
Publishes a value on the client's system broadcast channel under broadcastId, where the host application and any mounted SystemBroadcastListener tile can pick it up — the outbound half of the bridge between server-declared flows and native app code. data chooses the payload: incomingBroadcastData publishes incomingData, inlineBroadcastData publishes a literal declared on the event. Consumes incomingData as the payload when data is incomingBroadcastData. Dispatches onSuccess (no data) after the value was published; onFailure (no data), only in the incoming-data case, when incomingData is null so there is nothing to publish.
Parameters
Unique identifier of this event. Defaults to a random id.
Trigger that fires this event, built via EventTriggers.
Child events chained after this one, wired to its triggers (onSuccess, onFailure).
Channel id the value is published under, matched by onSystemBroadcast(broadcastId) listeners.
Payload to publish, built with incomingBroadcastData or inlineBroadcastData.