Skip to main content

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​

FieldTypeDescription
focusedTabItemintegerIndex of the focused tab
onOverlayEventassocArrayOverlay lifecycle: will-appear, did-appear, did-engage, did-dismiss
onPanelEventassocArrayA panel's event for your channel
onSDKEventassocArraySDK events as { type, payload }, such as rendered:channels
panelsBuiltbooleanThe panels are built: mount modules
userViewedPanelassocArrayA panel's tab got focus

State & Tracking​

FieldTypeDescription
errorInformationassocArrayAn error, for logging
isReadybooleanThe SDK is initialized on this node
lastDataReceivedassocArrayLiveness signal for the overlay poll
trackActionassocArrayAnalytics: an engage
trackImpressionassocArrayAnalytics: a view or a dismiss

Client Action Fields​

FieldTypeDescription
openToPanelstringOpens the drawer on a panel type
setDataToOverlayassocArrayYour answer to will-appear
showPanelbooleanOpens or closes the drawer; the SDK sets it too