Ubuntu Platform API  2.0.0
A library helping with tight integration into the Ubuntu platform
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
light.h File Reference
#include <ubuntu/visibility.h>
#include <stdint.h>
+ Include dependency graph for light.h:
+ This graph shows which files directly or indirectly include this file:

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...