Package io.scanbot.sdk.documentscanner
Class DocumentScannerConfiguration
- java.lang.Object
-
- io.scanbot.sdk.documentscanner.DocumentScannerConfiguration
-
public class DocumentScannerConfiguration extends java.lang.ObjectConfiguration for the document scanner.
-
-
Constructor Summary
Constructors Constructor Description DocumentScannerConfiguration()Constructs DocumentScannerConfiguration with default parameters.DocumentScannerConfiguration(DocumentScannerEngineMode engineMode, DocumentScannerParameters parameters)Constructs DocumentScannerConfiguration with the given params.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DocumentScannerEngineModegetEngineMode()Getter for engineMode field.DocumentScannerParametersgetParameters()Getter for parameters field.voidsetEngineMode(DocumentScannerEngineMode engineMode)Setter for engineMode field.voidsetParameters(DocumentScannerParameters parameters)Setter for parameters field.
-
-
-
Constructor Detail
-
DocumentScannerConfiguration
public DocumentScannerConfiguration(DocumentScannerEngineMode engineMode, DocumentScannerParameters parameters)
Constructs DocumentScannerConfiguration with the given params.- Parameters:
engineMode- The engine to use for document scanning. Default is MLparameters- Initial parameters for the document scanner.
-
DocumentScannerConfiguration
public DocumentScannerConfiguration()
Constructs DocumentScannerConfiguration with default parameters.
-
-
Method Detail
-
getEngineMode
public DocumentScannerEngineMode getEngineMode()
Getter for engineMode field. See constructor documentation for more information about the field.- Returns:
- engineMode
-
setEngineMode
public void setEngineMode(DocumentScannerEngineMode engineMode)
Setter for engineMode field. See constructor documentation for more information about the field.- Parameters:
engineMode- Value to set.
-
getParameters
public DocumentScannerParameters getParameters()
Getter for parameters field. See constructor documentation for more information about the field.- Returns:
- parameters
-
setParameters
public void setParameters(DocumentScannerParameters parameters)
Setter for parameters field. See constructor documentation for more information about the field.- Parameters:
parameters- Value to set.
-
-