Skip to main content

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
}
}
}
}
SettingTypeEffect
enabledbooleanfalse hides the stats panels that read it.
refreshIntervalnumberPolling interval in seconds for the panels that read it.
snapshotDebounceIntervalnumberMinimum seconds between timecode-driven updates, for the panels that read it (What Just Happened among them).
idleTimernumberIdle time in seconds before a panel that reads it resets its view.
sectionsassocArray or arrayCard 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.