configuration
The runtime configuration document for the SDK's panels, from your channel's remote config. The field form of
setConfiguration().
Type
assocArray
Document shape
Settings are nested by sport. A document without sports is applied to any sport.
m.maestro.configuration = {
sports: {
SPORT: {
stats: {
enabled: true
refreshInterval: 30
snapshotDebounceInterval: 10
}
}
}
}
| Setting | Type | Effect |
|---|---|---|
enabled | boolean | false hides the stats panels that read it. |
refreshInterval | number | Polling interval in seconds for the panels that read it. |
snapshotDebounceInterval | number | Minimum seconds between timecode-driven updates, for the panels that read it (What Just Happened among them). |
idleTimer | number | Idle time in seconds before a panel that reads it resets its view. |
sections | assocArray or array | Card order and visibility, for the panels that read it. |
Each panel documents the settings it reads. The sport comes from the page metadata or the panel data your channel sends.
Notes
- Each write replaces the previous document; nothing is merged.
- Set it before or after
config: it applies to panels already built and to panels built later, over their config from Maestro. - Values that aren't positive numbers are ignored, and the panel keeps its own value.
restartSDK()clears it: set it again after a restart.- A document wrapped as
{ config: { ... } }with nothing beside it is unwrapped.