|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SensorEvent<T>
A tuple representing a piece of data from a Sensor on an Entity.
| Method Summary | |
|---|---|
Sensor<T> |
getSensor()
The Sensor describing the data. |
Entity |
getSource()
The Entity where the data originated. |
long |
getTimestamp()
The time this data was published, as a UTC time in milliseconds (e.g. |
T |
getValue()
The value for the Sensor data. |
| Method Detail |
|---|
Entity getSource()
Entity where the data originated.
Sensor<T> getSensor()
Sensor describing the data.
T getValue()
Sensor data.
long getTimestamp()
System.currentTimeMillis().
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||