Class DocumentScanningFlow
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class DocumentScanningFlow implements Parcelable
Configuration of the document scanner screen.
-
-
Field Summary
Fields Modifier and Type Field Description private Stringversionprivate Stringscreenprivate Palettepaletteprivate DocumentScannerTextLocalizationlocalizationprivate DocumentFlowAppearanceConfigurationappearanceprivate DocumentScannerOutputSettingsoutputSettingsprivate DocumentScannerScreensscreensprivate StringdocumentUuidprivate BooleancleanScanningSessionprivate BooleankeepScreenOn
-
Constructor Summary
Constructors Constructor Description DocumentScanningFlow(Map<String, Object> source)DocumentScanningFlow(JSONObject json)DocumentScanningFlow(String version, String screen, Palette palette, DocumentScannerTextLocalization localization, DocumentFlowAppearanceConfiguration appearance, DocumentScannerOutputSettings outputSettings, DocumentScannerScreens screens, String documentUuid, Boolean cleanScanningSession, Boolean keepScreenOn)
-
Method Summary
Modifier and Type Method Description final StringgetVersion()Version number of the configuration object. final UnitsetVersion(String version)Version number of the configuration object. final StringgetScreen()The configuration object should be applied for this screen. final UnitsetScreen(String screen)The configuration object should be applied for this screen. final PalettegetPalette()Define the screen's base color values from which other colors are derived. final UnitsetPalette(Palette palette)Define the screen's base color values from which other colors are derived. final DocumentScannerTextLocalizationgetLocalization()Configuration of all the strings for the document scanner screen. final UnitsetLocalization(DocumentScannerTextLocalization localization)Configuration of all the strings for the document scanner screen. final DocumentFlowAppearanceConfigurationgetAppearance()Configuration of the general appearance. final UnitsetAppearance(DocumentFlowAppearanceConfiguration appearance)Configuration of the general appearance. final DocumentScannerOutputSettingsgetOutputSettings()Configuration of the output settings. final UnitsetOutputSettings(DocumentScannerOutputSettings outputSettings)Configuration of the output settings. final DocumentScannerScreensgetScreens()Configuration of the document scanner sub-screens. final UnitsetScreens(DocumentScannerScreens screens)Configuration of the document scanner sub-screens. final StringgetDocumentUuid()The UUID of the existing document to be edited. final UnitsetDocumentUuid(String documentUuid)The UUID of the existing document to be edited. final BooleangetCleanScanningSession()Clean the existing pages from the scanning session. final UnitsetCleanScanningSession(Boolean cleanScanningSession)Clean the existing pages from the scanning session. final BooleangetKeepScreenOn()If enabled, the screen will not turn off while the barcode scanner is active. final UnitsetKeepScreenOn(Boolean keepScreenOn)If enabled, the screen will not turn off while the barcode scanner is active. final JSONObjecttoJson(ToJsonConfiguration config)final DocumentScanningFlowclone()final static DocumentScanningFlowdefault()-
-
Constructor Detail
-
DocumentScanningFlow
DocumentScanningFlow(JSONObject json)
-
DocumentScanningFlow
DocumentScanningFlow(String version, String screen, Palette palette, DocumentScannerTextLocalization localization, DocumentFlowAppearanceConfiguration appearance, DocumentScannerOutputSettings outputSettings, DocumentScannerScreens screens, String documentUuid, Boolean cleanScanningSession, Boolean keepScreenOn)
-
-
Method Detail
-
getVersion
final String getVersion()
Version number of the configuration object.
Default is "1.0"
-
setVersion
final Unit setVersion(String version)
Version number of the configuration object.
Default is "1.0"
-
getScreen
final String getScreen()
The configuration object should be applied for this screen.
Default is "DocumentScanner"
-
setScreen
final Unit setScreen(String screen)
The configuration object should be applied for this screen.
Default is "DocumentScanner"
-
getPalette
final Palette getPalette()
Define the screen's base color values from which other colors are derived.
-
setPalette
final Unit setPalette(Palette palette)
Define the screen's base color values from which other colors are derived.
-
getLocalization
final DocumentScannerTextLocalization getLocalization()
Configuration of all the strings for the document scanner screen.
-
setLocalization
final Unit setLocalization(DocumentScannerTextLocalization localization)
Configuration of all the strings for the document scanner screen.
-
getAppearance
final DocumentFlowAppearanceConfiguration getAppearance()
Configuration of the general appearance.
-
setAppearance
final Unit setAppearance(DocumentFlowAppearanceConfiguration appearance)
Configuration of the general appearance.
-
getOutputSettings
final DocumentScannerOutputSettings getOutputSettings()
Configuration of the output settings.
-
setOutputSettings
final Unit setOutputSettings(DocumentScannerOutputSettings outputSettings)
Configuration of the output settings.
-
getScreens
final DocumentScannerScreens getScreens()
Configuration of the document scanner sub-screens.
-
setScreens
final Unit setScreens(DocumentScannerScreens screens)
Configuration of the document scanner sub-screens.
-
getDocumentUuid
final String getDocumentUuid()
The UUID of the existing document to be edited.
-
setDocumentUuid
final Unit setDocumentUuid(String documentUuid)
The UUID of the existing document to be edited.
-
getCleanScanningSession
final Boolean getCleanScanningSession()
Clean the existing pages from the scanning session.
Default is true
-
setCleanScanningSession
final Unit setCleanScanningSession(Boolean cleanScanningSession)
Clean the existing pages from the scanning session.
Default is true
-
getKeepScreenOn
final Boolean getKeepScreenOn()
If enabled, the screen will not turn off while the barcode scanner is active. (Android only).
Default is true
-
setKeepScreenOn
final Unit setKeepScreenOn(Boolean keepScreenOn)
If enabled, the screen will not turn off while the barcode scanner is active. (Android only).
Default is true
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final DocumentScanningFlow clone()
-
default
final static DocumentScanningFlow default()
-
-
-
-