Camera 2 API

suggest change

Versions

android.hardware.camera2 was added in Android 5.0 (API 21).

Parameters

Type Details
CameraCaptureSession A configured capture session for a CameraDevice, used to capture images or to reprocess images already captured in that session.
CameraDevice One camera connected to the Android device.
CameraCharacteristics Fixed properties of a CameraDevice. Query them with CameraManager.getCameraCharacteristics(String).
CameraManager System service that finds cameras and opens a connection. Obtain it with Context.getSystemService().
CaptureRequest Immutable settings and outputs for one capture: sensor, lens, flash, processing, and the target Surfaces. Build one with CaptureRequest.Builder from createCaptureRequest(int).
CaptureResult A subset of the result of one capture. A CameraDevice produces it after processing a CaptureRequest.

Remarks

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents