Ubuntu Platform API  1.0.0
A library helping with tight integration into the Ubuntu platform
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ubuntu_sensor_observer Struct Reference

#include <ubuntu_application_sensors.h>

+ Collaboration diagram for ubuntu_sensor_observer:

Data Fields

on_new_accelerometer_reading on_new_accelerometer_reading_cb
 
on_new_proximity_reading on_new_proximity_reading_cb
 
on_new_ambient_light_reading on_new_ambient_light_reading_cb
 
void * context
 

Detailed Description

Models a sensor observer.

Definition at line 105 of file ubuntu_application_sensors.h.

Field Documentation

void* ubuntu_sensor_observer::context

Callback context.

Definition at line 115 of file ubuntu_application_sensors.h.

on_new_accelerometer_reading ubuntu_sensor_observer::on_new_accelerometer_reading_cb

Invoked for new readings from an accelerometer.

Definition at line 108 of file ubuntu_application_sensors.h.

on_new_ambient_light_reading ubuntu_sensor_observer::on_new_ambient_light_reading_cb

Invoked for new readings from an ambient light sensor.

Definition at line 112 of file ubuntu_application_sensors.h.

on_new_proximity_reading ubuntu_sensor_observer::on_new_proximity_reading_cb

Invoked for new readings from a proximity sensor.

Definition at line 110 of file ubuntu_application_sensors.h.


The documentation for this struct was generated from the following file: