语言

CameraDevice.CreateReprocessableCaptureSession 方法

定义

通过向相机设备提供所需的重新处理输入Surface配置和 Surface 的目标输出集,创建新的可重新处理的相机捕获会话。

[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

参数

inputConfig
InputConfiguration

输入的配置 Surface

outputs
IList<Surface>

应作为捕获图像数据的目标提供的新 Surface 集。

callback
CameraCaptureSession.StateCallback

要通知新捕获会话状态的回调。

handler
Handler

应调用回调的处理程序,或使用 null 当前线程的 android.os.Looper looper处理程序。

特性

注解

Java文档android.hardware.camera2.CameraDevice.createReprocessableCaptureSession(android.hardware.camera2.params.InputConfiguration, java.util.List, android.hardware.camera2.StateCallback, android.os.Handler)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于