components

Top  Previous  Next

Lists the components in the system.

Definition

components = deviceManager.components( pluginId )

 

Name

Type

Description

components

table of components

Returns a table of components indexed by component Id.

pluginId

number

Number of the plugin that owns the components or 0 for all.

Example

local components = deviceManager.components(0)

 

for id, component in pairs(components) do

 print(id, component.name)

end

 

Related

Component object

Availability

Lua