pub unsafe extern "C" fn LeapUnsubscribeEvents(
    hConnection: LEAP_CONNECTION,
    hDevice: LEAP_DEVICE
) -> eLeapRS
Expand description

\ingroup Functions Unsubscribe from event messages based on device.

If events from multiple devices are being sent from a service, this function prevents receiving further events from the specified device that had previously been enabled using a call to LeapSubscribeEvents().

@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