Leap Motion C# API Reference  0.8.0
Leap.DeviceList Class Reference

The DeviceList class represents a list of Device objects. More...

Inherits Leap.Interface, and IEnumerable< Device >.

Public Member Functions

DeviceList Append (DeviceList other)
 Appends the members of the specifed DeviceList to this DeviceList.
 
 DeviceList ()
 Constructs an empty list of devices.
 

Properties

int Count [get]
 Returns the number of devices in this list.
 
bool IsEmpty [get]
 Reports whether the list is empty.
 

Detailed Description

The DeviceList class represents a list of Device objects.

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

Constructor & Destructor Documentation

Leap.DeviceList.DeviceList ( )
inline

Constructs an empty list of devices.

Member Function Documentation

DeviceList Leap.DeviceList.Append ( DeviceList  other)
inline

Appends the members of the specifed DeviceList to this DeviceList.

Parameters
otherA DeviceList object containing Device objects to append to the end of this DeviceList.

Property Documentation

int Leap.DeviceList.Count
get

Returns the number of devices in this list.

Returns
The number of devices in this list.
bool Leap.DeviceList.IsEmpty
get

Reports whether the list is empty.

Returns
True, if the list has no members.