CaptureRequest.Builder.Build Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 Surface
s, 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.