Core SDK
The fields your channel sets and the functions it calls on the MaestroPanel node.
m.maestro = createObject("roSGNode", "MaestroPanelLib:MaestroPanel")
Fields
| Field | 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 (default true) |
| fetchDataOnInit | boolean | Panels fetch on build, or on first focus (default true) |
| height | integer | Drawer height (default 1080) |
| 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 (default 676 in the core build) |
Functions
| Function | Description |
|---|---|
| addPanelToEvent() | Adds a host-built panel as a tab |
| destroySDK() | Ends the session and tears the SDK down |
| dismissOverlay() | Dismisses the overlay on screen |
| endSession() | Ends the panel session; the SDK keeps running |
| fetchMaestroModule() | Creates the configured modules for your channel to mount |
| onPlayerTimeCodeUpdated() | Sends the player's position as epoch ms |
| removePanelFromEvent() | Removes a host-built panel and its tab |
| restartSDK() | Tears the SDK down and initializes it again |
| setConfiguration() | Applies the runtime configuration document |
| setPanelFocus() | Moves focus into the panel |
The fields your channel observes, and showPanel, openToPanel and setDataToOverlay, are in the
Maestro Event Interface.