Share via


CaptureRequest.Builder.Build Method

Definition

Build a request using the current target Surfaces and settings.

[Android.Runtime.Register("build", "()Landroid/hardware/camera2/CaptureRequest;", "")]
public Android.Hardware.Camera2.CaptureRequest Build ();
[<Android.Runtime.Register("build", "()Landroid/hardware/camera2/CaptureRequest;", "")>]
member this.Build : unit -> Android.Hardware.Camera2.CaptureRequest

Returns

A new capture request instance, ready for submission to the camera device.

Attributes

Remarks

Build a request using the current target Surfaces and settings.

Note that, although it is possible to create a CaptureRequest with no target Surfaces, passing such a request into CameraCaptureSession#capture, CameraCaptureSession#captureBurst, CameraCaptureSession#setRepeatingBurst, or CameraCaptureSession#setRepeatingRequest will cause that method to throw an IllegalArgumentException.

Java documentation for android.hardware.camera2.CaptureRequest.Builder.build().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to