nl.tue.id.creapro.admoveo
Interface SensorListener

All Known Implementing Classes:
AdMoVeo

public interface SensorListener

The interface to be implemented in order to receive the input events from Sensors.

Author:
jhu

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

inputAvailable

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.

Parameters:
sensor - the sensor that sends the message.
oldValue - the old sensor reading.
newValue - the new sensor reading.