EaxMdService.setAutoUpdate

Syntax

setAutoUpdate(report: PP.Exp.EaxAnalyzer, updateSettings: object, callback: PP.Delegate);

Parameters

report. Report, for which autoupdate is set up.

updateSettings. Autoupdate settings.

callback. Callback procedure.

Description

The setAutoUpdate sets up express report autoupdate.

Comments

The updateSettings autoupdate settings have the following parameters:

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Set up express report autoupdate:

// Set autoupdate settings - enable periodic refresh with the interval of 2 seconds and autoudate on selection change
updateSettings = {updateByIntervalEnabled: true, autoUpdateByData: true, AutoUpdateInterval: 2, autoUpdateIntervalUnits: "Seconds"};
report = expressBox.getSource();
// Apply settings
eaxMdService.setAutoUpdate(report, updateSettings);
// Refresh report
expressBox.refreshAll();

After executing the example express report autoupdate is set up.

See also:

EaxMdService