Temperature Sensor¶
Non-Visible component| Category | Requires | Version | 
|---|---|---|
| Sensors | API 21, Android 5.0 Lollipop | 1 | 
Overview¶
Non-visible component that measures the temperature of the air in the room in degrees Celsius. This sensor implementation varies across devices.
Events¶
Temperature Changed¶
Event that fires when the temperature is changed
| Params | |
|---|---|
| temperature | Number | 
Properties¶
Available¶
Boolean  Read  - Blocks
Whether Sensor is Available
Enabled¶
Boolean Default: True  Read Write  - Designer Blocks
Whether Sensor should be Enabled
Temperature¶
Number  Read  - Blocks
Returns the temperature in degrees celsius. To return values the sensor must be enabled