Udostępnij za pośrednictwem


CameraDevice.CreateCaptureSessionByOutputConfigurations Method

Definition

Create a new camera capture session by providing the target output set of Surfaces and its corresponding surface configuration to the camera device.

[Android.Runtime.Register("createCaptureSessionByOutputConfigurations", "(Ljava/util/List;Landroid/hardware/camera2/CameraCaptureSession$StateCallback;Landroid/os/Handler;)V", "GetCreateCaptureSessionByOutputConfigurations_Ljava_util_List_Landroid_hardware_camera2_CameraCaptureSession_StateCallback_Landroid_os_Handler_Handler", ApiSince=24)]
public abstract void CreateCaptureSessionByOutputConfigurations (System.Collections.Generic.IList<Android.Hardware.Camera2.Params.OutputConfiguration>? outputConfigurations, Android.Hardware.Camera2.CameraCaptureSession.StateCallback? callback, Android.OS.Handler? handler);
[<Android.Runtime.Register("createCaptureSessionByOutputConfigurations", "(Ljava/util/List;Landroid/hardware/camera2/CameraCaptureSession$StateCallback;Landroid/os/Handler;)V", "GetCreateCaptureSessionByOutputConfigurations_Ljava_util_List_Landroid_hardware_camera2_CameraCaptureSession_StateCallback_Landroid_os_Handler_Handler", ApiSince=24)>]
abstract member CreateCaptureSessionByOutputConfigurations : System.Collections.Generic.IList<Android.Hardware.Camera2.Params.OutputConfiguration> * Android.Hardware.Camera2.CameraCaptureSession.StateCallback * Android.OS.Handler -> unit

Parameters

outputConfigurations
IList<OutputConfiguration>
handler
Handler
Attributes

Remarks

Java documentation for android.hardware.camera2.CameraDevice.createCaptureSessionByOutputConfigurations(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