LeapFailedDeviceΒΆ

LeapFailedDevice Class Reference

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

Inherits NSObject.

Instance Methods

(BOOL) - equals:
 Test LeapFailedDevice equality. More...
 

Class Methods

(LeapFailedDevice *) + invalid
 An invalid LeapFailedDevice object. More...
 

Properties

LeapDeviceFailureType failure
 The reason for device failure. More...
 
BOOL isValid
 Reports whether this LeapFailedDevice object contains valid data. More...
 
NSString * pnpId
 The device plug-and-play id string. More...
 

Detailed Description

The LeapFailedDevice 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 [LeapController devices] list.

Get the list of failed devices using [LeapController failedDevices].

Since
3.0

Method Documentation

- (BOOL) equals: (const LeapFailedDevice *)  other

Test LeapFailedDevice equality.

True if the devices are the same.

Since
3.0
+ (LeapFailedDevice *) invalid

An invalid LeapFailedDevice object.

Since
3.0

Property Documentation

- (LeapDeviceFailureType) failure
readnonatomicassign

The reason for device failure.

Since
3.0
- (BOOL) isValid
readnonatomicassign

Reports whether this LeapFailedDevice object contains valid data.

An invalid LeapFailedDevice does not represent a physical device and can be the result of creating a new LeapFailedDevice object with the constructor. Get LeapFailedDevice objects from [LeapController failedDevices] only.

Since
3.0
- (NSString*) pnpId
readnonatomicassign

The device plug-and-play id string.

Since
3.0