CameraDevice.CameraDeviceSetup.CreateCaptureRequest(Int32) 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.
Create a CaptureRequest.Builder for new capture requests, initialized with a template for target use case.
[Android.Runtime.Register("createCaptureRequest", "(I)Landroid/hardware/camera2/CaptureRequest$Builder;", "GetCreateCaptureRequest_IHandler", ApiSince=35)]
public abstract Android.Hardware.Camera2.CaptureRequest.Builder CreateCaptureRequest(int templateType);
[<Android.Runtime.Register("createCaptureRequest", "(I)Landroid/hardware/camera2/CaptureRequest$Builder;", "GetCreateCaptureRequest_IHandler", ApiSince=35)>]
abstract member CreateCaptureRequest : int -> Android.Hardware.Camera2.CaptureRequest.Builder
Parameters
- templateType
- Int32
An enumeration selecting the use case for this request. Not all template types are supported on every device. See the documentation for each template type for details. Value is one of the following: CameraDevice.TEMPLATE_PREVIEW; CameraDevice.TEMPLATE_STILL_CAPTURE; CameraDevice.TEMPLATE_RECORD; CameraDevice.TEMPLATE_VIDEO_SNAPSHOT; CameraDevice.TEMPLATE_ZERO_SHUTTER_LAG; CameraDevice.TEMPLATE_MANUAL
Returns
a builder for a capture request, initialized with default settings for that template, and no output streams. This value cannot be null.
- Attributes
Remarks
Create a CaptureRequest.Builder for new capture requests, initialized with a template for target use case.
Android reference for android.hardware.camera2.CameraDevice.CameraDeviceSetup.createCaptureRequest.
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.