tinyvm.rcx
Interface SensorListener
- public interface SensorListener
Listener of sensor events.
- See Also:
Sensor.addSensorListener(tinyvm.rcx.SensorListener)
Method Summary |
void |
stateChanged(Sensor aSource,
boolean aBooleanValue)
Called when the boolean state of the sensor changes. |
void |
stateChanged(Sensor aSource,
int aRawValue)
Called when the raw value of the sensor changes. |
stateChanged
public void stateChanged(Sensor aSource,
boolean aBooleanValue)
- Called when the boolean state of the sensor changes.
stateChanged
public void stateChanged(Sensor aSource,
int aRawValue)
- Called when the raw value of the sensor changes.