Package com.tinkerforge
Interface BrickletRotaryPoti.PositionReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletRotaryPoti
public static interface BrickletRotaryPoti.PositionReachedListener extends DeviceListener
This listener is triggered when the threshold as set byBrickletRotaryPoti.setPositionCallbackThreshold(char, short, short)
is reached. The parameter is the position of the rotary potentiometer. If the threshold keeps being reached, the listener is triggered periodically with the period as set byBrickletRotaryPoti.setDebouncePeriod(long)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
positionReached(short position)
-