Barometer
Definition
Physical world component that can measure the ambient air pressure if supported by the hardware.
Properties
- AirPressure
- The atmospheric pressure in hPa (millibar), if the sensor is available and enabled.
- Available
- Specifies whether or not the device has the hardware to support the
Barometer
component. - Enabled
- Specifies whether the sensor should generate events. If
true
, the sensor will generate events. Otherwise, no events are generated. - RefreshTime
- The requested minimum time in milliseconds between changes in readings being reported. Android is not guaranteed to honor the request. Setting this property has no effect on pre-Gingerbread devices.