Properties:
Methods:
The DeviceList class represents a list of Device objects.
Get a DeviceList object by calling Controller::devices().
Public Functions
- Since
- 1.0
PropertyDeviceList Append(DeviceList other)Appends the members of the specified DeviceList to this DeviceList.
- Since
- 1.0
- Parameters
- other -
A DeviceList object containing Device objects to append to the end of this DeviceList.
DeviceList()Constructs an empty list of devices.
- Since
- 1.0
int Count
Returns the number of devices in this list.
- Return
- The number of devices in this list.
- Since
- 1.0
bool IsEmpty
Reports whether the list is empty.
if (!controller.Devices.IsEmpty) { Device leapDevice = controller.Devices [0]; }
- Return
- True, if the list has no members.
- Since
- 1.0