Interface SensorValueListener
-
- All Known Implementing Classes:
ActivityContext
,ActivityContextExample1
,ContextExample1
,DeviceSensorExample1
,LocationContext
,TimeContext
,WifiContext
,WifiContextExample1
public interface SensorValueListener
SensorValueListener interface obtain values from sensor. This interface includes the method receiveValue, which is called when a new value is received from a sensor. In order to register a sensor value listener for a sensor, see the method
Sensor.registerValueListener(eu.h2020.helios_social.core.sensor.SensorValueListener)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
receiveValue(java.lang.Object value)
Receives value from sensor
-