Package org.hid4java

Interface HidServicesListener

  • All Superinterfaces:
    java.util.EventListener

    public interface HidServicesListener
    extends java.util.EventListener

    Interface to provide the following to API consumers:

    • Notification of a HID event
    Since:
    0.0.1  
    • Method Detail

      • hidDeviceAttached

        void hidDeviceAttached​(HidServicesEvent event)
        A HID device was attached
        Parameters:
        event - The event
      • hidDeviceDetached

        void hidDeviceDetached​(HidServicesEvent event)
        A HID device was detached
        Parameters:
        event - The event
      • hidFailure

        void hidFailure​(HidServicesEvent event)
        A HID failure occurred during scanning
        Parameters:
        event - The event