Dispatched when a configuration change is completed.
ConfigChangeEventArgs(string config_key, bool succeeded, uint requestId)
The Config class provides access to Leap Motion system configuration information.
ValueType
Enumerates the possible data types for configuration values.
Dispatched when the connection is established.
Dispatched when the connection is lost.
ConnectionLostEventArgs()
Dispatched when a device is plugged in.
DeviceEventArgs(Device device)
Dispatched when a device is plugged in, but fails to initialize or when a working device fails in use...
string DeviceSerialNumber
DeviceFailureEventArgs(uint code, string message, string serial)
The Device class represents a physically connected device.
The DistortionData class contains the distortion map for correcting the lens distortion of an image.
Dispatched when the image distortion map changes.
DistortionData distortion
DistortionEventArgs(DistortionData distortion, Image.CameraType camera)
eLeapDroppedFrameType reason
DroppedFrameEventArgs(Int64 frame_id, eLeapDroppedFrameType type)
Dispatched when a tracking frame is ready.
FrameEventArgs(Frame frame)
The Frame class represents a set of hand and finger tracking data detected in a single frame.
HeadPoseEventArgs(LEAP_VECTOR head_position, LEAP_QUATERNION head_orientation)
LEAP_QUATERNION headOrientation
Dispatched when an unrequested Image is ready.
ImageEventArgs(Image image)
The Image class represents a stereo image pair from the Leap Motion device.
LEAP_TRACKING_EVENT frame
InternalFrameEventArgs(ref LEAP_TRACKING_EVENT frame)
A generic object with no arguments beyond the event type.
LeapEventArgs(LeapEvent type)
Dispatched when loggable events are generated by the service and the service connection code.
LogEventArgs(MessageSeverity severity, Int64 timestamp, string message)
Dispatched when point mapping change events are generated by the service.
PointMappingChangeEventArgs(Int64 frame_id, Int64 timestamp, UInt32 nPoints)
Dispatched when a policy change is complete.
PolicyEventArgs(UInt64 currentPolicies, UInt64 oldPolicies)
Dispatched when a configuration change is completed.
Config.ValueType DataType
SetConfigResponseEventArgs(string config_key, Config.ValueType dataType, object value, uint requestId)
MessageSeverity
Reports whether the message is for a severe failure, a recoverable warning, or a status change.
LeapEvent
An enumeration defining the types of Leap Motion events.
@ EVENT_CONFIG_RESPONSE
Response to a Config value request.
@ EVENT_INTERNAL_FRAME
An internal tracking frame has been received.
@ EVENT_FRAME
A tracking frame has been received.
@ EVENT_POLICY_CHANGE
A change in policy occurred.
@ EVENT_CONNECTION_LOST
The connection with the service has been lost.
@ EVENT_POINT_MAPPING_CHANGE
@ EVENT_IMAGE_COMPLETE
A requested image is available.
@ EVENT_CONNECTION
A connection event has occurred.
@ EVENT_DEVICE_FAILURE
A device failure event has occurred.
@ EVENT_DEVICE_LOST
Event asserted when the underlying device object has been lost.
@ EVENT_IMAGE_REQUEST_FAILED
A requested image could not be provided.
@ EVENT_LOG_EVENT
A diagnostic event has occurred.
@ EVENT_CONFIG_CHANGE
Success response to a Config value change.
@ EVENT_IMAGE
An unrequested image is available.
@ EVENT_DISTORTION_CHANGE
The distortion matrix used for image correction has changed.
@ EVENT_DEVICE
A device event has occurred.
BeginProfilingBlockArgs(string blockName)
BeginProfilingForThreadArgs(string threadName, params string[] blockNames)
EndProfilingBlockArgs(string blockName)