Tanoda
Leap.FailedDevice Class Reference

The FailedDevice class provides information about Leap Motion hardware that has been physically connected to the client computer, but is not operating correctly. More...

Inheritance diagram for Leap.FailedDevice:

Public Types

enum  FailureType {
  FAIL_UNKNOWN , FAIL_CALIBRATION , FAIL_FIRMWARE , FAIL_TRANSPORT ,
  FAIL_CONTROl
}
 The errors that can cause a device to fail to properly connect to the service. More...
 

Public Member Functions

 FailedDevice ()
 
bool Equals (FailedDevice other)
 Test FailedDevice equality. True if the devices are the same. More...
 

Properties

string PnpId [get]
 The device plug-and-play id string. More...
 
FailureType Failure [get]
 The reason for device failure. The failure reasons are defined as members of the FailureType enumeration. More...
 

Detailed Description

The FailedDevice class provides information about Leap Motion hardware that has been physically connected to the client computer, but is not operating correctly.

Failed devices do not provide any tracking data and do not show up in the Controller.Devices() list.

Get the list of failed devices using Controller.FailedDevices().

Since
3.0

Definition at line 24 of file FailedDevice.cs.

Member Enumeration Documentation

◆ FailureType

The errors that can cause a device to fail to properly connect to the service.

Since
3.0
Enumerator
FAIL_UNKNOWN 

The cause of the error is unknown.

FAIL_CALIBRATION 

The device has a bad calibration record.

FAIL_FIRMWARE 

The device firmware is corrupt or failed to update.

FAIL_TRANSPORT 

The device is unresponsive.

FAIL_CONTROl 

The service cannot establish the required USB control interfaces.

Definition at line 60 of file FailedDevice.cs.

Constructor & Destructor Documentation

◆ FailedDevice()

Leap.FailedDevice.FailedDevice ( )

Definition at line 27 of file FailedDevice.cs.

Member Function Documentation

◆ Equals()

bool Leap.FailedDevice.Equals ( FailedDevice  other)

Test FailedDevice equality. True if the devices are the same.

Since
3.0

Definition at line 37 of file FailedDevice.cs.

Property Documentation

◆ Failure

FailureType Leap.FailedDevice.Failure
get

The reason for device failure. The failure reasons are defined as members of the FailureType enumeration.

Since
3.0

Definition at line 53 of file FailedDevice.cs.

◆ PnpId

string Leap.FailedDevice.PnpId
get

The device plug-and-play id string.

Since
3.0

Definition at line 45 of file FailedDevice.cs.


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