SessionConfiguration Constructor
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 SessionConfiguration
.
[Android.Runtime.Register(".ctor", "(ILjava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$StateCallback;)V", "", ApiSince=28)]
public SessionConfiguration (int sessionType, System.Collections.Generic.IList<Android.Hardware.Camera2.Params.OutputConfiguration> outputs, Java.Util.Concurrent.IExecutor executor, Android.Hardware.Camera2.CameraCaptureSession.StateCallback cb);
[<Android.Runtime.Register(".ctor", "(ILjava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraCaptureSession$StateCallback;)V", "", ApiSince=28)>]
new Android.Hardware.Camera2.Params.SessionConfiguration : int * System.Collections.Generic.IList<Android.Hardware.Camera2.Params.OutputConfiguration> * Java.Util.Concurrent.IExecutor * Android.Hardware.Camera2.CameraCaptureSession.StateCallback -> Android.Hardware.Camera2.Params.SessionConfiguration
Parameters
- sessionType
- Int32
The session type.
- outputs
- IList<OutputConfiguration>
A list of output configurations for the capture session.
- executor
- IExecutor
The executor which should be used to invoke the callback. In general it is recommended that camera operations are not done on the main (UI) thread.
A state callback interface implementation.
- 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.