Go to the source code of this file.
Typedefs | |
typedef void | UASTemperatureEvent |
Opaque type describing an ambient light sensor reading. More... | |
Functions | |
UBUNTU_DLL_PUBLIC uint64_t | uas_temperature_event_get_timestamp (UASTemperatureEvent *event) |
Query the timestamp of the sensor reading. More... | |
UBUNTU_DLL_PUBLIC UStatus | uas_temperature_event_get_temperature (UASTemperatureEvent *event, float *value) |
Query the value measured by the ambient light sensor. More... | |
typedef void UASTemperatureEvent |
Opaque type describing an ambient light sensor reading.
Definition at line 34 of file temperature.h.
UBUNTU_DLL_PUBLIC UStatus uas_temperature_event_get_temperature | ( | UASTemperatureEvent * | event, |
float * | value | ||
) |
Query the value measured by the ambient light sensor.
[in] | event | The reading to be queried. |
UBUNTU_DLL_PUBLIC uint64_t uas_temperature_event_get_timestamp | ( | UASTemperatureEvent * | event | ) |
Query the timestamp of the sensor reading.
[in] | event | The reading to be queried. |