public class LightAdapter extends java.lang.Object implements LightListener
Constructor and Description |
---|
LightAdapter() |
public void bright(int id, int value)
bright
in interface LightListener
id
- the id of the light sensorvalue
- the current light value.public void dark(int id, int value)
dark
in interface LightListener
id
- the id of the light sensorvalue
- the current light value