Udostępnij za pośrednictwem


CameraExtensionSession.ExtensionCaptureCallback.OnCaptureResultAvailable Method

Definition

This method is called when an image capture has fully completed and all the result metadata is available.

[Android.Runtime.Register("onCaptureResultAvailable", "(Landroid/hardware/camera2/CameraExtensionSession;Landroid/hardware/camera2/CaptureRequest;Landroid/hardware/camera2/TotalCaptureResult;)V", "GetOnCaptureResultAvailable_Landroid_hardware_camera2_CameraExtensionSession_Landroid_hardware_camera2_CaptureRequest_Landroid_hardware_camera2_TotalCaptureResult_Handler", ApiSince=33)]
public virtual void OnCaptureResultAvailable (Android.Hardware.Camera2.CameraExtensionSession session, Android.Hardware.Camera2.CaptureRequest request, Android.Hardware.Camera2.TotalCaptureResult result);
[<Android.Runtime.Register("onCaptureResultAvailable", "(Landroid/hardware/camera2/CameraExtensionSession;Landroid/hardware/camera2/CaptureRequest;Landroid/hardware/camera2/TotalCaptureResult;)V", "GetOnCaptureResultAvailable_Landroid_hardware_camera2_CameraExtensionSession_Landroid_hardware_camera2_CaptureRequest_Landroid_hardware_camera2_TotalCaptureResult_Handler", ApiSince=33)>]
abstract member OnCaptureResultAvailable : Android.Hardware.Camera2.CameraExtensionSession * Android.Hardware.Camera2.CaptureRequest * Android.Hardware.Camera2.TotalCaptureResult -> unit
override this.OnCaptureResultAvailable : Android.Hardware.Camera2.CameraExtensionSession * Android.Hardware.Camera2.CaptureRequest * Android.Hardware.Camera2.TotalCaptureResult -> unit

Parameters

session
CameraExtensionSession

The session received during StateCallback#onConfigured(CameraExtensionSession)

request
CaptureRequest

The request that was given to the CameraDevice

result
TotalCaptureResult

The total output metadata from the capture, which only includes the capture result keys advertised as supported in CameraExtensionCharacteristics#getAvailableCaptureResultKeys.

Attributes

Remarks

This method is called when an image capture has fully completed and all the result metadata is available.

This callback will only be called in case CameraExtensionCharacteristics#getAvailableCaptureResultKeys returns a valid non-empty list.

The default implementation of this method does nothing.

Java documentation for android.hardware.camera2.CameraExtensionSession.ExtensionCaptureCallback.onCaptureResultAvailable(android.hardware.camera2.CameraExtensionSession, android.hardware.camera2.CaptureRequest, android.hardware.camera2.TotalCaptureResult).

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