public class Temperature
extends java.lang.Object
This class represents the ambient air temperature sensor value. It can be used to dispatch the sensor updates to the creative.
| Modifier and Type | Field and Description |
|---|---|
int |
temperature |
int |
watchID |
| Constructor and Description |
|---|
Temperature(int temperature,
int watchID)
Constructs a new instance of sensor object with the given parameters.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getTemperature() |
int |
getWatchID() |