Skip to main content

Core SDK

The fields your channel sets and the functions it calls on the MaestroPanel node.

m.maestro = createObject("roSGNode", "MaestroPanelLib:MaestroPanel")

Fields​

FieldTypeDescription
configassocArraySession configuration; starts the panel config request
configurationassocArrayRuntime configuration document for the panels
displayQRCodesbooleanShows or hides QR codes in panels (default true)
fetchDataOnInitbooleanPanels fetch on build, or on first focus (default true)
heightintegerDrawer height (default 1080)
setDataToPanelassocArraySends data to one panel, one property per write
userDidStartWatchingEventstringSwitches the session to another event ID
userSettingsassocArrayThe viewer's preferences per panel
widthintegerDrawer width (default 676 in the core build)

Functions​

FunctionDescription
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.