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) 1990, 2013, Oracle and/or its affiliates. All rights reserved.