Tanoda
Leap.DeviceList Class Reference

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

Inheritance diagram for Leap.DeviceList:

Public Member Functions

 DeviceList ()
 Constructs an empty list of devices. More...
 
Device FindDeviceByHandle (IntPtr deviceHandle)
 For internal use only. More...
 
void AddOrUpdate (Device device)
 For internal use only. More...
 

Properties

Device ActiveDevice [get]
 The device that is currently streaming tracking data. If no streaming devices are found, returns null More...
 
bool IsEmpty [get]
 Reports whether the list is empty. More...
 

Detailed Description

The DeviceList class represents a list of Device objects.

Get a DeviceList object by calling Controller.Devices().

Since
1.0

Definition at line 19 of file DeviceList.cs.

Constructor & Destructor Documentation

◆ DeviceList()

Leap.DeviceList.DeviceList ( )

Constructs an empty list of devices.

Since
1.0

Definition at line 26 of file DeviceList.cs.

Member Function Documentation

◆ AddOrUpdate()

void Leap.DeviceList.AddOrUpdate ( Device  device)

For internal use only.

Definition at line 62 of file DeviceList.cs.

◆ FindDeviceByHandle()

Device Leap.DeviceList.FindDeviceByHandle ( IntPtr  deviceHandle)

For internal use only.

Definition at line 31 of file DeviceList.cs.

Property Documentation

◆ ActiveDevice

Device Leap.DeviceList.ActiveDevice
get

The device that is currently streaming tracking data. If no streaming devices are found, returns null

Definition at line 43 of file DeviceList.cs.

◆ IsEmpty

bool Leap.DeviceList.IsEmpty
get

Reports whether the list is empty.

Since
1.0

Definition at line 75 of file DeviceList.cs.


The documentation for this class was generated from the following file: