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.isReadygoesfalse, thentrue. - The restart doesn't request a config: set
configagain, then yoursetDataToPanel,configurationand other writes. The panel data and runtime configuration you sent before are cleared.