Sensor Library Reference

The Sensor library provides applications with a consistent interface to interact with sensors connected to the system.

Through this library's API, you can perform sensor operations that include:
  • receiving streaming data from a sensor
  • recording sensor data to a file
  • receiving status events from a sensor
  • publishing interim data to the Sensor Framework that can be consumed by subscribers
  • subscribing to the Sensor Framework to receive interim data from publishers

This library provides a mechanism to work with the data from sensors, which includes registering events and callbacks, and getting various forms of the raw data from the sensor.

Note:
If you want to dynamically modify camera settings, such as resolution, framerate, video format, white balance, etc., on the camera, use the Camera library instead. For more information, see the Camera Developer's Guide.
Page updated: