17 #ifndef UBUNTU_APPLICATION_SENSORS_MAGNETIC_EVENT_H_ 18 #define UBUNTU_APPLICATION_SENSORS_MAGNETIC_EVENT_H_ 42 UASMagneticEvent* event);
52 UASMagneticEvent* event,
63 UASMagneticEvent* event,
74 UASMagneticEvent* event,
81 #endif // UBUNTU_APPLICATION_SENSORS_MAGNETIC_EVENT_H_ UBUNTU_DLL_PUBLIC uint64_t uas_magnetic_event_get_timestamp(UASMagneticEvent *event)
Query the timestamp of the sensor reading.
void UASMagneticEvent
Opaque type describing a magnetic field reading.
UBUNTU_DLL_PUBLIC UStatus uas_magnetic_event_get_magnetic_field_y(UASMagneticEvent *event, float *value)
Query the intensity of the magnetic field in the x-axis.
UbuntuStatus
Indicates the status of an operation.
UBUNTU_DLL_PUBLIC UStatus uas_magnetic_event_get_magnetic_field_x(UASMagneticEvent *event, float *value)
Query the intensity of the magnetic field in the x-axis.
UBUNTU_DLL_PUBLIC UStatus uas_magnetic_event_get_magnetic_field_z(UASMagneticEvent *event, float *value)
Query the intensity of the magnetic field in the x-axis.
#define UBUNTU_DLL_PUBLIC