pub unsafe extern "C" fn LeapSubscribeEvents(
hConnection: LEAP_CONNECTION,
hDevice: LEAP_DEVICE,
) -> eLeapRSExpand description
\ingroup Functions Subscribe to event messages based on device.
If events from multiple devices are being sent from a service, this function allows the client to receive events from the specified device. Clients that claim to be multi-device-aware (see ::eLeapConnectionConfig and ::LeapCreateConnection) must subscribe to a device to receive various device-specific events.
@param hConnection The connection handle created by LeapCreateConnection(). @param hDevice A handle to the device for which events are desired. @returns The operation result code, a member of the eLeapRS enumeration. @since 5.4.0