19 #ifndef UBUNTU_APPLICATION_SENSORS_PROXIMITY_EVENT_H_
20 #define UBUNTU_APPLICATION_SENSORS_PROXIMITY_EVENT_H_
55 UASProximityEvent* event);
65 UASProximityEvent* event);
UBUNTU_DLL_PUBLIC UASProximityDistance uas_proximity_event_get_distance(UASProximityEvent *event)
Query the discrete distance as reported by the proximity sensor.
void UASProximityEvent
Opaque type describing an accelerometer reading.
UbuntuApplicationSensorsProximityDistance
Useful constants when inspecting readings from the proximity sensor.
UbuntuApplicationSensorsProximityDistance UASProximityDistance
#define UBUNTU_DLL_PUBLIC
UBUNTU_DLL_PUBLIC uint64_t uas_proximity_event_get_timestamp(UASProximityEvent *event)
Query the timestamp of the sensor reading.