Lingua

CaptureRequest.Builder.SetPhysicalCameraKey Method

Definition

Set a capture request field to a value.

[Android.Runtime.Register("setPhysicalCameraKey", "(Landroid/hardware/camera2/CaptureRequest$Key;Ljava/lang/Object;Ljava/lang/String;)Landroid/hardware/camera2/CaptureRequest$Builder;", "", ApiSince=28)]
[Java.Interop.JavaTypeParameters(new System.String[] { "T" })]
public Android.Hardware.Camera2.CaptureRequest.Builder? SetPhysicalCameraKey(Android.Hardware.Camera2.CaptureRequest.Key key, Java.Lang.Object? value, string physicalCameraId);
[<Android.Runtime.Register("setPhysicalCameraKey", "(Landroid/hardware/camera2/CaptureRequest$Key;Ljava/lang/Object;Ljava/lang/String;)Landroid/hardware/camera2/CaptureRequest$Builder;", "", ApiSince=28)>]
[<Java.Interop.JavaTypeParameters(new System.String[] { "T" })>]
member this.SetPhysicalCameraKey : Android.Hardware.Camera2.CaptureRequest.Key * Java.Lang.Object * string -> Android.Hardware.Camera2.CaptureRequest.Builder

Parameters

key
CaptureRequest.Key

The metadata field to write. This value cannot be null.

value
Object

The value to set the field to, which must be of a matching type to the key.

physicalCameraId
String

A valid physical camera Id. The valid camera Ids can be obtained via calls to CameraCharacteristics.getPhysicalCameraIds. This value cannot be null.

Returns

The builder object.

Attributes

Remarks

Set a capture request field to a value. The field definitions can be found in CaptureRequest.

Android reference for android.hardware.camera2.CaptureRequest.Builder.setPhysicalCameraKey.

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