device

Top  Previous  Next

Return the device object.

Definition

device = deviceManager.device( deviceId )

Name

Type

Description

device

Device Object

The device object requested or nil if not found.

deviceId

number

The Id of the device requested.

Example

device = deviceManager.device( 1 )

print(device.name)

 

Related

Device Object

Availability

Lua