19 #ifndef UBUNTU_APPLICATION_SENSORS_LIGHT_EVENT_H_ 20 #define UBUNTU_APPLICATION_SENSORS_LIGHT_EVENT_H_ 44 UASLightEvent* event);
UBUNTU_DLL_PUBLIC UStatus uas_light_event_get_light(UASLightEvent *event, float *value)
Query the value measured by the ambient light sensor.
UbuntuStatus
Indicates the status of an operation.
#define UBUNTU_DLL_PUBLIC
void UASLightEvent
Opaque type describing an ambient light sensor reading.
UBUNTU_DLL_PUBLIC uint64_t uas_light_event_get_timestamp(UASLightEvent *event)
Query the timestamp of the sensor reading.