Android Sensors Overview

Android Sensor API

  • SensorManager
    Is the Android system service that gives an app access to hardware sensors.
  • Sensor
    Is the Android representation of a hardware sensor on a device.
  • SensorEventListener
    Is an interface that provides the callbacks to alert an app to sensor-related events.
  • SensorEvent
    Is the data structure that contains the information that is passed to an app when a hardware sensor has information to report.