Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: updated as per DOCS-710

The configurednetworks object provides an array of persistent configuration names, even if they are not active at present. The configurations may be accessed using @brightsign/networkconfiguration objects.

Code Block
languagejs
titleconfigurednetworks IDL
collapsetrue
interface ConfiguredNetworks {
    Promise<Array<String>> getConfigurationNames();
};


Object Creation

To create a configurednetworks object, load the @brightsign/configurednetworks module using the require() method:

Code Block
languagejs
const var configurednetworksClass = require("@brightsign/configurednetworks");
var configurednetworks = new configurednetworksClass();


getConfigurationNames()

Code Block
Promise<Array<String>> getConfigurationNames()

This method returns an array of persistent configuration names, even if they are not active at present.