sensor_type_e

Sensor types.

Synopsis:

#include <sensor/sensor.h>
 
typedef enum {
      SENSOR_TYPE_ACCELEROMETER = 0   
      SENSOR_TYPE_MAGNETOMETER = 1   
      SENSOR_TYPE_GYROSCOPE = 2   
      SENSOR_TYPE_ALTIMETER = 3   
      SENSOR_TYPE_TEMPERATURE = 4   
      SENSOR_TYPE_PROXIMITY = 5   
      SENSOR_TYPE_LIGHT = 6   
      SENSOR_TYPE_GRAVITY = 7   
      SENSOR_TYPE_LINEAR_ACCEL = 8   
      SENSOR_TYPE_ROTATION_VECTOR = 9   
      SENSOR_TYPE_ORIENTATION = 10   
      SENSOR_TYPE_ROTATION_MATRIX = 12   
      SENSOR_TYPE_AZIMUTH_PITCH_ROLL = 14   
      SENSOR_TYPE_FACE_DETECT = 15   
      SENSOR_TYPE_PRESSURE = 16   
      SENSOR_TYPE_HOLSTER = 17   
      SENSOR_TYPE_COMPASS = 21   
} sensor_type_e;

Since:

BlackBerry 10.0.0

Data:

SENSOR_TYPE_ACCELEROMETER
Accelerometer sensor.
SENSOR_TYPE_MAGNETOMETER
Magnetometer sensor.
SENSOR_TYPE_GYROSCOPE
Gyroscope sensor.
SENSOR_TYPE_ALTIMETER
Altimeter sensor.
SENSOR_TYPE_TEMPERATURE
Temperature sensor.
SENSOR_TYPE_PROXIMITY
Proximity sensor.
SENSOR_TYPE_LIGHT
Light sensor.
SENSOR_TYPE_GRAVITY
Gravity sensor.
SENSOR_TYPE_LINEAR_ACCEL
Linear acceleration sensor.
SENSOR_TYPE_ROTATION_VECTOR
Rotation vector sensor.
SENSOR_TYPE_ORIENTATION
Orientation sensor.
SENSOR_TYPE_ROTATION_MATRIX
Rotation sensor matrix.
SENSOR_TYPE_AZIMUTH_PITCH_ROLL
Azimuth pitch/roll sensor.
SENSOR_TYPE_FACE_DETECT
Face detection sensor.
SENSOR_TYPE_PRESSURE
Pressure sensor.
SENSOR_TYPE_HOLSTER
Holster sensor.
SENSOR_TYPE_COMPASS
Compass sensor.

Library:

libsensor (For the qcc command, use the -l sensor option to link against this library)

Description:

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus