Go to the source code of this file.
Typedefs | |
typedef UbuntuApplicationSensorsProximityDistance | UASProximityDistance |
typedef void | UASProximityEvent |
Opaque type describing an accelerometer reading. More... | |
Enumerations | |
enum | UbuntuApplicationSensorsProximityDistance { U_PROXIMITY_NEAR = 1, U_PROXIMITY_FAR = 2 } |
Useful constants when inspecting readings from the proximity sensor. More... | |
Functions | |
UBUNTU_DLL_PUBLIC uint64_t | uas_proximity_event_get_timestamp (UASProximityEvent *event) |
Query the timestamp of the sensor reading. More... | |
UBUNTU_DLL_PUBLIC UASProximityDistance | uas_proximity_event_get_distance (UASProximityEvent *event) |
Query the discrete distance as reported by the proximity sensor. More... | |
Definition at line 39 of file proximity.h.