android.hardware.camera2


Classes

CameraCaptureSession

A configured capture session for a CameraDevice, used for capturing images from the camera or reprocessing images captured from the camera in the same session previously.

CameraCharacteristics

The properties describing a CameraDevice.

CameraConstrainedHighSpeedCaptureSession

A constrained high speed capture session for a CameraDevice, used for capturing high speed images from the CameraDevice for high speed video recording use case.

CameraDevice

The CameraDevice class is a representation of a single camera connected to an Android device, allowing for fine-grain control of image capture and post-processing at high frame rates.

CameraExtensionCharacteristics

Allows clients to query availability and supported resolutions of camera extensions.

CameraExtensionSession

A camera capture session that enables access to device-specific camera extensions, which often use multi-frame bursts and sophisticated post-process algorithms for image capture.

CameraManager

A system service manager for detecting, characterizing, and connecting to CameraDevices.

CameraMetadata

The base class for camera controls and information.

CameraOfflineSession

A camera capture session that was switched to offline mode via successful call to CameraCaptureSession#switchToOffline.

CaptureFailure

A report of failed capture for a single image capture from the image sensor.

CaptureRequest

An immutable package of settings and outputs needed to capture a single image from the camera device.

CaptureResult

The subset of the results of a single image capture from the image sensor.

DngCreator

The DngCreator class provides functions to write raw pixel data as a DNG file.

MultiResolutionImageReader

The MultiResolutionImageReader class wraps a group of ImageReaders with the same format and different sizes, source camera Id, or camera sensor modes.

TotalCaptureResult

The total assembled results of a single image capture from the image sensor.

Exceptions

CameraAccessException

CameraAccessException is thrown if a camera device could not be queried or opened by the CameraManager, or if the connection to an opened CameraDevice is no longer valid.