Go to the source code of this file.
Typedefs | |
typedef void | UASLightEvent |
Opaque type describing an ambient light sensor reading. More... | |
Functions | |
UBUNTU_DLL_PUBLIC uint64_t | uas_light_event_get_timestamp (UASLightEvent *event) |
Query the timestamp of the sensor reading. More... | |
UBUNTU_DLL_PUBLIC UStatus | uas_light_event_get_light (UASLightEvent *event, float *value) |
Query the value measured by the ambient light sensor. More... | |
typedef void UASLightEvent |
UBUNTU_DLL_PUBLIC UStatus uas_light_event_get_light | ( | UASLightEvent * | 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_light_event_get_timestamp | ( | UASLightEvent * | event | ) |
Query the timestamp of the sensor reading.
[in] | event | The reading to be queried. |