pub unsafe extern "C" fn LeapSetTrackingMode(
    hConnection: LEAP_CONNECTION,
    mode: eLeapTrackingMode
) -> eLeapRS
Expand description

\ingroup Functions Requests a tracking mode.

Changing tracking modes is asynchronous. After you call this function, a subsequent call to LeapPollConnection provides a LEAP_POLICY_EVENT containing the current policies, reflecting any changes.

The eLeapTrackingMode enumeration defines the tracking mode. . @param hConnection The connection handle created by LeapCreateConnection(). @param mode The enum value specifying the requested tracking mode @returns The operation result code, a member of the eLeapRS enumeration. @since 5.0.0