Include dependency graph for proximity.h:
This graph shows which files directly or indirectly include this file: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.
| typedef void UASProximityEvent |
Opaque type describing an accelerometer reading.
Definition at line 45 of file proximity.h.
Useful constants when inspecting readings from the proximity sensor.
| Enumerator | |
|---|---|
| U_PROXIMITY_NEAR |
The reading indicates that something is near the sensor/device. |
| U_PROXIMITY_FAR |
The reading indicates that something is far away from the sensor/device. |
Definition at line 34 of file proximity.h.
| UBUNTU_DLL_PUBLIC UASProximityDistance uas_proximity_event_get_distance | ( | UASProximityEvent * | event | ) |
Query the discrete distance as reported by the proximity sensor.
| [in] | event | The reading to be queried. |
| UBUNTU_DLL_PUBLIC uint64_t uas_proximity_event_get_timestamp | ( | UASProximityEvent * | event | ) |
Query the timestamp of the sensor reading.
| [in] | event | The reading to be queried. |