Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
LightControlCapabilities

LightControlCapabilities Class Reference

Constructors

Instance Methods

Constructors

new LightControlCapabilities(parameters)

Initalizes an instance of LightControlCapabilities.

Instance Methods

lightControlCapabilities.getModuleInfo() ⇒ ModuleInfo

Get the ModuleInfo

Kind: Instance method of LightControlCapabilities
Returns: ModuleInfo - the KEY_MODULE_INFO value

lightControlCapabilities.getModuleName() ⇒ String

Get the ModuleName

Kind: Instance method of LightControlCapabilities
Returns: String - the KEY_MODULE_NAME value

lightControlCapabilities.getSupportedLights() ⇒ Array.<LightCapabilities>

Get the SupportedLights

Kind: Instance method of LightControlCapabilities
Returns: Array.<LightCapabilities> - the KEY_SUPPORTED_LIGHTS value

lightControlCapabilities.setModuleInfo(info) ⇒ LightControlCapabilities

Set the ModuleInfo

Kind: Instance method of LightControlCapabilities
Returns: LightControlCapabilities - The class instance for method chaining.

ParamTypeDescription
info ModuleInfo Information about a RC module, including its id. - The desired ModuleInfo.

lightControlCapabilities.setModuleName(name) ⇒ LightControlCapabilities

Set the ModuleName

Kind: Instance method of LightControlCapabilities
Returns: LightControlCapabilities - The class instance for method chaining.

ParamTypeDescription
name String The short friendly name of the light control module. It should not be used to identify a - The desired ModuleName. module by mobile application.

lightControlCapabilities.setSupportedLights(lights) ⇒ LightControlCapabilities

Set the SupportedLights

Kind: Instance method of LightControlCapabilities
Returns: LightControlCapabilities - The class instance for method chaining.

ParamTypeDescription
lights Array.<LightCapabilities> An array of available LightCapabilities that are controllable. - The desired SupportedLights.
View on GitHub.com
Previous Section Next Section