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.
configurednetworks IDL
Code Block |
---|
language | js | title | configurednetworks IDL |
---|
collapse | true |
---|
|
interface ConfiguredNetworks {
Promise<Array<String>> getConfigurationNames();
}; |
Object Creation
To create a configurednetworks object, load the @brightsign/configurednetworks module using the require()
method:
Code Block |
---|
|
var configurednetworksClass = require("@brightsign/configurednetworks");
var configurednetworks = new configurednetworksClass(); |
ConfiguredNetworks
getConfigurationNames()
Code Block |
---|
Promise<Array<String>> getConfigurationNames() |
This method returns an array of persistent configuration names, even if they are not active at present.