Java android.hardware.camera2 CameraCaptureSession fields, constructors, methods, implement or subclass

Example usage for Java android.hardware.camera2 CameraCaptureSession fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for android.hardware.camera2 CameraCaptureSession.

The text is from its open source code.

Method

intcapture(@NonNull CaptureRequest request, @Nullable CaptureCallback listener, @Nullable Handler handler)

Submit a request for an image to be captured by the camera device.

The request defines all the parameters for capturing the single image, including sensor, lens, flash, and post-processing settings.

Each request will produce one CaptureResult and produce new frames for one or more target Surfaces, set with the CaptureRequest builder's CaptureRequest.Builder#addTarget method.

intsetRepeatingRequest(@NonNull CaptureRequest request, @Nullable CaptureCallback listener, @Nullable Handler handler)
Request endlessly repeating capture of images by this capture session.