Share via


CaptureResult.CameraId Property

Definition

Get the camera ID of the camera that produced this capture result.

public virtual string CameraId { [Android.Runtime.Register("getCameraId", "()Ljava/lang/String;", "GetGetCameraIdHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getCameraId", "()Ljava/lang/String;", "GetGetCameraIdHandler", ApiSince=31)>]
member this.CameraId : string

Property Value

The camera ID for the camera that produced this capture result.

Attributes

Remarks

Get the camera ID of the camera that produced this capture result.

For a logical multi-camera, the ID may be the logical or the physical camera ID, depending on whether the capture result was obtained from TotalCaptureResult#getPhysicalCameraResults or not.

Java documentation for android.hardware.camera2.CaptureResult.getCameraId().

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