Udostępnij za pośrednictwem


CameraExtensionSession.ExtensionCaptureCallback.OnCaptureProcessStarted Method

Definition

This method is called when an image (or images in case of multi-frame capture) is captured and device-specific extension processing is triggered.

[Android.Runtime.Register("onCaptureProcessStarted", "(Landroid/hardware/camera2/CameraExtensionSession;Landroid/hardware/camera2/CaptureRequest;)V", "GetOnCaptureProcessStarted_Landroid_hardware_camera2_CameraExtensionSession_Landroid_hardware_camera2_CaptureRequest_Handler", ApiSince=31)]
public virtual void OnCaptureProcessStarted (Android.Hardware.Camera2.CameraExtensionSession session, Android.Hardware.Camera2.CaptureRequest request);
[<Android.Runtime.Register("onCaptureProcessStarted", "(Landroid/hardware/camera2/CameraExtensionSession;Landroid/hardware/camera2/CaptureRequest;)V", "GetOnCaptureProcessStarted_Landroid_hardware_camera2_CameraExtensionSession_Landroid_hardware_camera2_CaptureRequest_Handler", ApiSince=31)>]
abstract member OnCaptureProcessStarted : Android.Hardware.Camera2.CameraExtensionSession * Android.Hardware.Camera2.CaptureRequest -> unit
override this.OnCaptureProcessStarted : Android.Hardware.Camera2.CameraExtensionSession * Android.Hardware.Camera2.CaptureRequest -> unit

Parameters

session
CameraExtensionSession

the session received during StateCallback#onConfigured(CameraExtensionSession)

request
CaptureRequest

The request that was given to the CameraExtensionSession

Attributes

Remarks

This method is called when an image (or images in case of multi-frame capture) is captured and device-specific extension processing is triggered.

Each request will generate at most 1#onCaptureProcessStarted.

The default implementation of this method does nothing.

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

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