Freigeben über


TotalCaptureResult.PhysicalCameraTotalResults Property

Definition

Get the map between physical camera ids and their total capture result metadata

public System.Collections.Generic.IDictionary<string,Android.Hardware.Camera2.TotalCaptureResult> PhysicalCameraTotalResults { [Android.Runtime.Register("getPhysicalCameraTotalResults", "()Ljava/util/Map;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getPhysicalCameraTotalResults", "()Ljava/util/Map;", "", ApiSince=31)>]
member this.PhysicalCameraTotalResults : System.Collections.Generic.IDictionary<string, Android.Hardware.Camera2.TotalCaptureResult>

Property Value

unmodifiable map between physical camera ids and their total capture result metadata

Attributes

Remarks

Get the map between physical camera ids and their total capture result metadata

This function can be called for logical multi-camera devices, which are devices that have REQUEST_AVAILABLE_CAPABILITIES_LOGICAL_MULTI_CAMERA capability.

If one or more streams from the underlying physical cameras were requested by the corresponding capture request, this function returns the total result metadata for those physical cameras. Otherwise, an empty map is returned.

This function replaces the deprecated #getPhysicalCameraResults, and its return value is a map of TotalCaptureResult rather than CaptureResult.

To reprocess an image from a physical camera stream, typically returned from a MultiResolutionImageReader, the application must look up this map to get the TotalCaptureResult from the physical camera and pass it to CameraDevice#createReprocessCaptureRequest.

Java documentation for android.hardware.camera2.TotalCaptureResult.getPhysicalCameraTotalResults().

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