語言

CameraDevice.CreateReprocessableCaptureSession 方法

定義

透過提供所需的重處理輸入 Surface 配置及目標輸出 Surfaces 給攝影機裝置,建立新的可重處理相機擷取會話。

[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>

應該作為捕捉影像資料目標的新一組曲面。

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)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於