Google is committed to advancing racial equity for Black communities. See how.

android.hardware

Classes

Camera

The Camera class is used to set image capture settings, start/stop preview, snap pictures, and retrieve frames for encoding for video.

ConsumerIrManager

Class that operates consumer infrared on the device.

GeomagneticField

Estimates magnetic field at a given point on Earth, and in particular, to compute the magnetic declination from true north.

HardwareBuffer

HardwareBuffer wraps a native AHardwareBuffer object, which is a low-level object representing a memory buffer accessible by various hardware units.

Sensor

Class representing a sensor.

SensorAdditionalInfo

This class represents a Sensor additional information frame, which is reported through listener callback .

SensorDirectChannel

Class representing a sensor direct channel.

SensorEvent

This class represents a Sensor event and holds information such as the sensor's type, the time-stamp, accuracy and of course the sensor's SensorEvent#values.

SensorEventCallback

Used for receiving sensor additional information frames.

SensorManager

SensorManager lets you access the device's sensors.

TriggerEvent

This class represents a Trigger Event - the event associated with a Trigger Sensor.

TriggerEventListener

This class is the listener used to handle Trigger Sensors.