android.hardware


Interfaces

AutoFocusCallback

Callback interface used to notify on completion of camera auto focus.

AutoFocusMoveCallback

Callback interface used to notify on auto focus start and stop.

ErrorCallback

Callback interface for camera error notification.

FaceDetectionListener

Callback interface for face detected in the preview frame.

OnZoomChangeListener

Callback interface for zoom changes during a smooth zoom operation.

PictureCallback

Callback interface used to supply image data from a photo capture.

PreviewCallback

Callback interface used to deliver copies of preview frames as they are displayed.

ShutterCallback

Callback interface used to signal the moment of actual image capture.

SensorEventListener

Used for receiving notifications from the SensorManager when there is new sensor data.

SensorEventListener2

Used for receiving a notification when a flush() has been successfully completed.

SensorListener

Used for receiving notifications from the SensorManager when sensor values have changed.

Classes

BatteryState

The BatteryState class is a representation of a single battery on a device.

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.

DataSpace

DataSpace identifies three components of colors - standard (primaries), transfer and range.

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.

OverlayProperties

Provides supported overlay properties of the device.

Sensor

Class representing a sensor.

SensorAdditionalInfo

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

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 data.

SensorEventCallback

Used for receiving sensor additional information frames.

SensorManager

SensorManager lets you access the device's sensors.

SensorPrivacyManager

This class provides information about the microphone and camera toggles.

SyncFence

A SyncFence represents a synchronization primitive which signals when hardware units have completed work on a particular resource.

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.