# Print output for @column tags ?> android.hardware - Android SDK | Android Developers

Most visited

Recently visited

android.hardware

Provides support for hardware features, such as the camera and other sensors. Be aware that not all Android-powered devices support all hardware features, so you should declare hardware that your application requires using the <uses-feature> manifest element.

Interfaces

Camera.AutoFocusCallback This interface is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.AutoFocusMoveCallback This interface is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.ErrorCallback This interface is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.FaceDetectionListener This interface is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.OnZoomChangeListener This interface is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.PictureCallback This interface is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.PreviewCallback This interface is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.ShutterCallback This interface is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
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 This interface is deprecated. Use SensorEventListener instead. 

Classes

Camera This class is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.Area This class is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.CameraInfo This class is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.Face This class is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.Parameters This class is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
Camera.Size This class is deprecated. We recommend using the new android.hardware.camera2 API for new applications. 
ConsumerIrManager Class that operates consumer infrared on the device. 
ConsumerIrManager.CarrierFrequencyRange Represents a range of carrier frequencies (inclusive) on which the infrared transmitter can transmit 
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 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 SensorEvent#values
SensorEventCallback Used for receiving sensor additional information frames. 
SensorManager

SensorManager lets you access the device's sensors

SensorManager.DynamicSensorCallback Used for receiving notifications from the SensorManager when dynamic sensors are connected or disconnected. 
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.