Package com.tinkerforge
Interface BrickletRotaryEncoder.CountReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletRotaryEncoder
public static interface BrickletRotaryEncoder.CountReachedListener extends DeviceListener
This listener is triggered when the threshold as set byBrickletRotaryEncoder.setCountCallbackThreshold(char, int, int)
is reached. The parameter is the count of the encoder. If the threshold keeps being reached, the listener is triggered periodically with the period as set byBrickletRotaryEncoder.setDebouncePeriod(long)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
countReached(int count)
-