-
- All Implemented Interfaces:
-
java.io.Serializable
public final class DocumentScannerConfiguration implements Serializable
A configuration class used to alter the default scan behaviour.
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanallowCaptureModeSettingprivate PageEditConfigurationpageEditConfigprivate Integerthemeprivate IntegeronboardingImageSource
-
Constructor Summary
Constructors Constructor Description DocumentScannerConfiguration()
-
Method Summary
Modifier and Type Method Description final BooleangetAllowCaptureModeSetting()If true, the toolbar will display an Item allowing the user to switch between auto capture and manual capture. final UnitsetAllowCaptureModeSetting(Boolean allowCaptureModeSetting)If true, the toolbar will display an Item allowing the user to switch between auto capture and manual capture. final PageEditConfigurationgetPageEditConfig()Configuration class used to alter the default page editing behaviour. final UnitsetPageEditConfig(PageEditConfiguration pageEditConfig)Configuration class used to alter the default page editing behaviour. final IntegergetTheme()Your custom theme if you like to change colors to match your branding. final UnitsetTheme(Integer theme)Your custom theme if you like to change colors to match your branding. final IntegergetOnboardingImageSource()Your custom image for the onboarding dialog that appears when scan is opened for the first time. final UnitsetOnboardingImageSource(Integer onboardingImageSource)Your custom image for the onboarding dialog that appears when scan is opened for the first time. -
-
Method Detail
-
getAllowCaptureModeSetting
final Boolean getAllowCaptureModeSetting()
If true, the toolbar will display an Item allowing the user to switch between auto capture and manual capture. Defaults to false.
-
setAllowCaptureModeSetting
final Unit setAllowCaptureModeSetting(Boolean allowCaptureModeSetting)
If true, the toolbar will display an Item allowing the user to switch between auto capture and manual capture. Defaults to false.
-
getPageEditConfig
final PageEditConfiguration getPageEditConfig()
Configuration class used to alter the default page editing behaviour.
-
setPageEditConfig
final Unit setPageEditConfig(PageEditConfiguration pageEditConfig)
Configuration class used to alter the default page editing behaviour.
-
getTheme
final Integer getTheme()
Your custom theme if you like to change colors to match your branding.
-
setTheme
final Unit setTheme(Integer theme)
Your custom theme if you like to change colors to match your branding.
-
getOnboardingImageSource
final Integer getOnboardingImageSource()
Your custom image for the onboarding dialog that appears when scan is opened for the first time.
-
setOnboardingImageSource
final Unit setOnboardingImageSource(Integer onboardingImageSource)
Your custom image for the onboarding dialog that appears when scan is opened for the first time.
-
-
-
-