Class Leap::FailedDevice¶
- class Leap.FailedDevice : public IEquatable<FailedDevice>¶
-
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
Public Types
- enum FailureType¶
The errors that can cause a device to fail to properly connect to the service.
- Since
3.0
Values:
- 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.
Public Functions
- bool Equals (FailedDevice other)¶
Test FailedDevice equality. True if the devices are the same.
- Since
3.0
Properties
- string PnpId { get; set; }¶
The device plug-and-play id string.
- Since
3.0
- FailureType Failure { get; set; }¶
The reason for device failure. The failure reasons are defined as members of the FailureType enumeration.
- Since
3.0