|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SensorListener
The interface to be implemented in order to receive the input events from Sensors.
Method Summary | |
---|---|
void |
inputAvailable(Sensor sensor,
int oldValue,
int newValue)
When input is available from a sensor, the sensor will notify all its listeners by sending the message inputAvailabe. |
Method Detail |
---|
void inputAvailable(Sensor sensor, int oldValue, int newValue)
sensor
- the sensor that sends the message.oldValue
- the old sensor reading.newValue
- the new sensor reading.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |