Android.Hardware.Camera2.CameraDevice.CreateCaptureRequest Method
Syntax
[Android.Runtime.Register("createCaptureRequest", "(I)Landroid/hardware/camera2/CaptureRequest$Builder;", "GetCreateCaptureRequest_IHandler")]
public abstract Builder CreateCaptureRequest ([Android.Runtime.GeneratedEnum] CameraTemplate templateType)
public abstract Builder CreateCaptureRequest ([Android.Runtime.GeneratedEnum] CameraTemplate templateType)
Parameters
- templateType
- An enumeration selecting the use case for this request; one of the CameraDevice.TEMPLATE_ values.
Exceptions
Type Reason IllegalArgumentException if the templateType is not in the list of supported templates. CameraAccessException if the camera device is no longer connected or has encountered a fatal error IllegalStateException if the camera device has been closed
Remarks
Create a NoType:android/hardware/camera2/CaptureRequest$Builder;Href=../../../../reference/android/hardware/camera2/CaptureRequest.Builder.html for new capture requests, initialized with template for a target use case. The settings are chosen to be the best options for the specific camera device, so it is not recommended to reuse the same request for a different camera device; create a builder specific for that device and template and override the settings as desired, instead.
Requirements
Namespace: Android.Hardware.Camera2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

