Example usage for Java android.hardware.camera2 CameraCaptureSession fields, constructors, methods, implement or subclass
The text is from its open source code.
int | capture(@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. |
int | setRepeatingRequest(@NonNull CaptureRequest request, @Nullable CaptureCallback listener, @Nullable Handler handler) Request endlessly repeating capture of images by this capture session. |