# Print output for @column tags ?>
public
final
class
ExtensionSessionConfiguration
extends Object
java.lang.Object | |
↳ | android.hardware.camera2.params.ExtensionSessionConfiguration |
A class that aggregates all supported arguments for
CameraExtensionSession
initialization.
Public constructors | |
---|---|
ExtensionSessionConfiguration(int extension, List<OutputConfiguration> outputs, Executor executor, CameraExtensionSession.StateCallback listener)
Create a new ExtensionSessionConfiguration |
Public methods | |
---|---|
Executor
|
getExecutor()
Retrieve the Executor for the CameraExtensionSession instance. |
int
|
getExtension()
Retrieve the extension type. |
List<OutputConfiguration>
|
getOutputConfigurations()
Retrieve the |
CameraExtensionSession.StateCallback
|
getStateCallback()
Retrieve the CameraCaptureSession.StateCallback listener. |
Inherited methods | |
---|---|
public ExtensionSessionConfiguration (int extension, List<OutputConfiguration> outputs, Executor executor, CameraExtensionSession.StateCallback listener)
Create a new ExtensionSessionConfiguration
Parameters | |
---|---|
extension |
int : to be used for processing
Value is either 0 or a combination of CameraExtensionCharacteristics.EXTENSION_AUTOMATIC , CameraExtensionCharacteristics.EXTENSION_BEAUTY , CameraExtensionCharacteristics.EXTENSION_BOKEH , CameraExtensionCharacteristics.EXTENSION_HDR , and CameraExtensionCharacteristics.EXTENSION_NIGHT |
outputs |
List : a list of output configurations for the capture session
This value cannot be null . |
executor |
Executor : the executor which will be used for invoking the callbacks
This value cannot be null . |
listener |
CameraExtensionSession.StateCallback : callbacks to be invoked when the state of the
CameraExtensionSession changes
This value cannot be null . |
public Executor getExecutor ()
Retrieve the Executor for the CameraExtensionSession instance.
Returns | |
---|---|
Executor |
The Executor on which the callback will be invoked.
This value cannot be null . |
public int getExtension ()
Retrieve the extension type.
Returns | |
---|---|
int |
the extension type.
Value is either 0 or a combination of CameraExtensionCharacteristics.EXTENSION_AUTOMATIC , CameraExtensionCharacteristics.EXTENSION_BEAUTY , CameraExtensionCharacteristics.EXTENSION_BOKEH , CameraExtensionCharacteristics.EXTENSION_HDR , and CameraExtensionCharacteristics.EXTENSION_NIGHT |
public List<OutputConfiguration> getOutputConfigurations ()
Retrieve the OutputConfiguration
list for the capture
session.
Returns | |
---|---|
List<OutputConfiguration> |
A list of output configurations for the capture session.
This value cannot be null . |
public CameraExtensionSession.StateCallback getStateCallback ()
Retrieve the CameraCaptureSession.StateCallback listener.
Returns | |
---|---|
CameraExtensionSession.StateCallback |
A state callback interface implementation.
This value cannot be null . |