#include <ubuntu/visibility.h>
#include <stdint.h>
Go to the source code of this file.
◆ UASTemperatureEvent
Opaque type describing an ambient light sensor reading.
Definition at line 34 of file temperature.h.
◆ uas_temperature_event_get_temperature()
Query the value measured by the ambient light sensor.
- Returns
- The ambient light level.
- Parameters
-
[in] | event | The reading to be queried. |
◆ uas_temperature_event_get_timestamp()
Query the timestamp of the sensor reading.
- Returns
- The timestamp of the sensor reading in [µs], timebase: monotonic clock.
- Parameters
-
[in] | event | The reading to be queried. |