The Wayback Machine - https://web.archive.org/web/20150925232736/http://developer.xamarin.com/api/member/Android.Hardware.Camera2.CameraDevice.CreateCaptureRequest/
Android Guides | Samples

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)

Parameters

templateType
An enumeration selecting the use case for this request; one of the CameraDevice.TEMPLATE_ values.

Exceptions

TypeReason
IllegalArgumentExceptionif the templateType is not in the list of supported templates.
CameraAccessExceptionif the camera device is no longer connected or has encountered a fatal error
IllegalStateExceptionif 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.

[Android Documentation]

Requirements

Namespace: Android.Hardware.Camera2
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0