public interface CountingListener extends PeripheralEventListener
CountingListenerinterface defines methods for getting notified of pulse counter counting conditions such as counter terminal value reached or counting session time interval expired. A
CountingListenercan be registered using the
PulseCounter.startCounting(int, long, com.oracle.deviceaccess.counter.CountingListener)method.
void countValueAvailable(CountingEvent 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.