Compartilhar via


CameraDevice.CreateReprocessableCaptureSession Method

Definition

Create a new reprocessable camera capture session by providing the desired reprocessing input Surface configuration and the target output set of Surfaces to the camera device.

[Android.Runtime.Register("createReprocessableCaptureSession", "(Landroid/hardware/camera2/params/InputConfiguration;Ljava/util/List;Landroid/hardware/camera2/CameraCaptureSession$StateCallback;Landroid/os/Handler;)V", "GetCreateReprocessableCaptureSession_Landroid_hardware_camera2_params_InputConfiguration_Ljava_util_List_Landroid_hardware_camera2_CameraCaptureSession_StateCallback_Landroid_os_Handler_Handler", ApiSince=23)]
public abstract void CreateReprocessableCaptureSession (Android.Hardware.Camera2.Params.InputConfiguration inputConfig, System.Collections.Generic.IList<Android.Views.Surface> outputs, Android.Hardware.Camera2.CameraCaptureSession.StateCallback callback, Android.OS.Handler? handler);
[<Android.Runtime.Register("createReprocessableCaptureSession", "(Landroid/hardware/camera2/params/InputConfiguration;Ljava/util/List;Landroid/hardware/camera2/CameraCaptureSession$StateCallback;Landroid/os/Handler;)V", "GetCreateReprocessableCaptureSession_Landroid_hardware_camera2_params_InputConfiguration_Ljava_util_List_Landroid_hardware_camera2_CameraCaptureSession_StateCallback_Landroid_os_Handler_Handler", ApiSince=23)>]
abstract member CreateReprocessableCaptureSession : Android.Hardware.Camera2.Params.InputConfiguration * System.Collections.Generic.IList<Android.Views.Surface> * Android.Hardware.Camera2.CameraCaptureSession.StateCallback * Android.OS.Handler -> unit

Parameters

inputConfig
InputConfiguration

The configuration for the input Surface

outputs
IList<Surface>

The new set of Surfaces that should be made available as targets for captured image data.

callback
CameraCaptureSession.StateCallback

The callback to notify about the status of the new capture session.

handler
Handler

The handler on which the callback should be invoked, or null to use the current thread's android.os.Looper looper.

Attributes

Remarks

Java documentation for android.hardware.camera2.CameraDevice.createReprocessableCaptureSession(android.hardware.camera2.params.InputConfiguration, java.util.List, android.hardware.camera2.StateCallback, android.os.Handler).

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