public static interface BrickletMoisture.MoistureReachedListener extends DeviceListener
BrickletMoisture.setMoistureCallbackThreshold(char, int, int)
is reached.
The parameter is the moisture value of the sensor.
If the threshold keeps being reached, the listener is triggered periodically
with the period as set by BrickletMoisture.setDebouncePeriod(long)
.Modifier and Type | Method and Description |
---|---|
void |
moistureReached(int moisture) |
Copyright © 2020 Tinkerforge GmbH. All rights reserved.