CameraDevice.CreateCaptureSessionByOutputConfigurations Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
The output configurations for the surfaces that the session can use as capture targets.
- callback
- CameraCaptureSession.StateCallback
The callback that receives notifications about the state of the new session.
- handler
- Handler
The handler for session state callbacks, or null to use the current thread's looper.
- Attributes
Remarks
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.