Udostępnij za pośrednictwem


ExtensionSessionConfiguration Constructor

Definition

Create a new ExtensionSessionConfiguration

[Android.Runtime.Register(".ctor", "(ILjava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraExtensionSession$StateCallback;)V", "", ApiSince=31)]
public ExtensionSessionConfiguration (int extension, System.Collections.Generic.IList<Android.Hardware.Camera2.Params.OutputConfiguration> outputs, Java.Util.Concurrent.IExecutor executor, Android.Hardware.Camera2.CameraExtensionSession.StateCallback listener);
[<Android.Runtime.Register(".ctor", "(ILjava/util/List;Ljava/util/concurrent/Executor;Landroid/hardware/camera2/CameraExtensionSession$StateCallback;)V", "", ApiSince=31)>]
new Android.Hardware.Camera2.Params.ExtensionSessionConfiguration : int * System.Collections.Generic.IList<Android.Hardware.Camera2.Params.OutputConfiguration> * Java.Util.Concurrent.IExecutor * Android.Hardware.Camera2.CameraExtensionSession.StateCallback -> Android.Hardware.Camera2.Params.ExtensionSessionConfiguration

Parameters

extension
Int32

to be used for processing

outputs
IList<OutputConfiguration>

a list of output configurations for the capture session

executor
IExecutor

the executor which will be used for invoking the callbacks

listener
CameraExtensionSession.StateCallback

callbacks to be invoked when the state of the CameraExtensionSession changes

Attributes

Remarks

Java documentation for android.hardware.camera2.params.ExtensionSessionConfiguration.ExtensionSessionConfiguration(int, java.util.List, java.util.concurrent.Executor, android.hardware.camera2.StateCallback).

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