API Reference
The MaestroPanel node's interface, in two parts: the Core SDK (fields your channel sets,
functions it calls) and the Maestro Event Interface (fields it observes, and the
action fields for the panel and overlays).
Core SDK
| Field or function | Type | Description |
|---|---|---|
| config | assocArray | Session configuration; starts the panel config request |
| configuration | assocArray | Runtime configuration document for the panels |
| displayQRCodes | boolean | Shows or hides QR codes in panels |
| fetchDataOnInit | boolean | Panels fetch on build, or on first focus |
| height | integer | Drawer height |
| setDataToPanel | assocArray | Sends data to one panel, one property per write |
| userDidStartWatchingEvent | string | Switches the session to another event ID |
| userSettings | assocArray | The viewer's preferences per panel |
| width | integer | Drawer width |
| addPanelToEvent() | function | Adds a host-built panel as a tab |
| destroySDK() | function | Ends the session and tears the SDK down |
| dismissOverlay() | function | Dismisses the overlay on screen |
| endSession() | function | Ends the panel session; the SDK keeps running |
| fetchMaestroModule() | function | Creates the configured modules for your channel to mount |
| onPlayerTimeCodeUpdated() | function | Sends the player's position as epoch ms |
| removePanelFromEvent() | function | Removes a host-built panel and its tab |
| restartSDK() | function | Tears the SDK down and initializes it again |
| setConfiguration() | function | Applies the runtime configuration document |
| setPanelFocus() | function | Moves focus into the panel |
Maestro Event Interface
| Field | Type | Description |
|---|---|---|
| errorInformation | assocArray | An error, for logging |
| focusedTabItem | integer | Index of the focused tab |
| handleLoadingSceneAction | string | "returnFocus": a host-built panel in single-tab mode hands focus back to your channel |
| isReady | boolean | The SDK is initialized on this node |
| lastDataReceived | assocArray | Liveness signal for the overlay poll |
| onOverlayEvent | assocArray | Overlay lifecycle events |
| onPanelEvent | assocArray | A panel's event for your channel |
| onSDKEvent | assocArray | SDK events as { type, payload } |
| openToPanel | string | Opens the drawer on a panel type |
| panelsBuilt | boolean | The panels are built: mount modules |
| setDataToOverlay | assocArray | Your answer to will-appear, or a Hello World test overlay request |
| showPanel | boolean | Opens or closes the drawer |
| trackAction | assocArray | Analytics: an engage |
| trackImpression | assocArray | Analytics: a view or a dismiss |
| userViewedPanel | assocArray | A panel's tab got focus |
Release notes: CHANGELOG.