DeviceListΒΆ

Properties:

Methods:

class Leap::DeviceList

The DeviceList class represents a list of Device objects.

Get a DeviceList object by calling Controller::devices().

Since
1.0

Public Functions

DeviceList Append(DeviceList other)

Appends the members of the specified DeviceList to this DeviceList.

Since
1.0
Parameters

DeviceList()

Constructs an empty list of devices.

Since
1.0

Property

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