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