Class LEAP_POLICY_EVENT

java.lang.Object
com.sun.jna.Structure
komposten.leapjna.leapc.events.LEAP_POLICY_EVENT
All Implemented Interfaces:
LEAP_EVENT

@FieldOrder({"reserved","current_policy"}) public class LEAP_POLICY_EVENT extends Structure implements LEAP_EVENT

The response from a request to get or set a policy.

LeapC.LeapPollConnection(Pointer, int, LEAP_CONNECTION_MESSAGE) creates this struct when the response becomes available.

Since:
LeapJna 1.0.0, Ultraleap Orion SDK 3.0.0
See Also:
  • Field Details

    • reserved

      public int reserved
      Reserved for future use.
    • current_policy

      public int current_policy
      A bitfield containing the policies effective at the time the policy event was processed. Use getCurrentPolicy() to get the policies as an array of eLeapPolicyFlag values.
  • Constructor Details

    • LEAP_POLICY_EVENT

      public LEAP_POLICY_EVENT(Pointer pointer)
  • Method Details