public class InfraredAdapter extends java.lang.Object implements InfraredListener
Constructor and Description |
---|
InfraredAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
activated(int id)
Empty method called when (reflected) infrared light is newly detected.
|
void |
passivated(int id)
Empty method called when no (reflected) infrared light is newly detected.
|
public void activated(int id)
activated
in interface InfraredListener
id
- the id of the light sensorpublic void passivated(int id)
passivated
in interface InfraredListener
id
- the id of the light sensor