Class DeviceKeyEvent

    • Constructor Detail

      • DeviceKeyEvent

        public DeviceKeyEvent​(DeviceKeyEvent.Type type,
                              DeviceKey deviceKey)
        Creates an event of a given type, and for the specified device key.
        Parameters:
        type - device key event type
        deviceKey - event device key subject
      • DeviceKeyEvent

        public DeviceKeyEvent​(DeviceKeyEvent.Type type,
                              DeviceKey deviceKey,
                              long time)
        Creates an event of a given type, for the specified device key, and the current time.
        Parameters:
        type - device key event type
        deviceKey - event device key subject
        time - occurrence time