android_hardware library

Provides support for hardware features, such as the camera and other sensors.

See: https://developer.android.com/reference/android/hardware/package-summary

Classes

Sensor
Represents a sensor. [...]
SensorEvent
Represents a Sensor event and holds information such as the sensor's type, the time-stamp, accuracy and of course the sensor's data. [...]
SensorEventListener
Used for receiving notifications from the SensorManager when there is new sensor data. [...]
SensorManager
SensorManager lets you access the device's sensors. [...]