Package com.tinkerforge
Interface BrickletLoadCell.WeightReachedListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletLoadCell
public static interface BrickletLoadCell.WeightReachedListener extends DeviceListener
This listener is triggered when the threshold as set byBrickletLoadCell.setWeightCallbackThreshold(char, int, int)
is reached. The parameter is the weight as measured by the load cell. If the threshold keeps being reached, the listener is triggered periodically with the period as set byBrickletLoadCell.setDebouncePeriod(long)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
weightReached(int weight)
-