public interface CountingListener extends PeripheralEventListener
CountingListener
interface defines methods for getting notified of pulse counter counting conditions such
as counter terminal value reached or counting session time interval expired. A CountingListener
can be
registered using the PulseCounter.startCounting(int, long, com.oracle.deviceaccess.counter.CountingListener)
method.PulseCounter
Modifier and Type | Method and Description |
---|---|
void |
countValueAvailable(CountingEvent event)
Invoked when the pulse count has reached the specified terminal value or the specified counting time interval has
expired - whichever happens first.
|
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.