public interface GenericEventListener extends PeripheralEventListener
GenericEventListener interface defines methods for getting notified of events fired by peripheral devices
that implement the GenericDevice interface. GenericEventListener can be registered using the
GenericDevice.setEventListener(int, GenericEventListener) method.GenericDevice,
GenericEvent| Modifier and Type | Method and Description |
|---|---|
void |
eventDispatched(GenericEvent event)
Invoked when an event is fired by peripheral device.
|
void eventDispatched(GenericEvent event)
event - the event that occurred.Copyright (c) 2012, Oracle and/or its affiliates. All Rights Reserved. Use of this specification is subject to license terms.