Package com.tinkerforge
Interface BrickletColorV2.ColorListener
-
- All Superinterfaces:
DeviceListener
,java.util.EventListener
,TinkerforgeListener
- Enclosing class:
- BrickletColorV2
public static interface BrickletColorV2.ColorListener extends DeviceListener
This listener is triggered periodically with the period that is set byBrickletColorV2.setColorCallbackConfiguration(long, boolean)
. The parameter is the color of the sensor as RGBC. TheBrickletColorV2.ColorListener
listener is only triggered if the color has changed since the last triggering.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
color(int r, int g, int b, int c)
-