Maestro Event Interface
The MaestroPanel fields your channel observes, and the fields it sets to act on the panel and overlays. Observe
with observeField right after creating the node, before you set config.
m.maestro.observeField("onSDKEvent", "onMaestroSDKEvent")
Panel Management
| Field | Type | Description |
|---|---|---|
| focusedTabItem | integer | Index of the focused tab |
| onOverlayEvent | assocArray | Overlay lifecycle: will-appear, did-appear, did-engage, did-dismiss |
| onPanelEvent | assocArray | A panel's event for your channel |
| onSDKEvent | assocArray | SDK events as { type, payload }, such as rendered:channels |
| panelsBuilt | boolean | The panels are built: mount modules |
| userViewedPanel | assocArray | A panel's tab got focus |
State & Tracking
| Field | Type | Description |
|---|---|---|
| errorInformation | assocArray | An error, for logging |
| isReady | boolean | The SDK is initialized on this node |
| lastDataReceived | assocArray | Liveness signal for the overlay poll |
| trackAction | assocArray | Analytics: an engage |
| trackImpression | assocArray | Analytics: a view or a dismiss |
Client Action Fields
| Field | Type | Description |
|---|---|---|
| openToPanel | string | Opens the drawer on a panel type |
| setDataToOverlay | assocArray | Your answer to will-appear |
| showPanel | boolean | Opens or closes the drawer; the SDK sets it too |