Skip to main content

restartSDK()

Tears the SDK down and initializes it again on the same node.

Syntax​

m.maestro.callFunc("restartSDK")

Parameters​

This function takes no parameters.

Returns​

This function does not return a value.

Example​

sub restartMaestro()
m.maestro.callFunc("restartSDK")
startMaestroSession() ' config, setDataToPanel and the other fields again
end sub

Notes​

  • Runs destroySDK(), with its session-end analytics, then initializes the SDK. isReady goes false, then true.
  • The restart doesn't request a config: set config again, then your setDataToPanel, configuration and other writes. The panel data and runtime configuration you sent before are cleared.