Class AcknowledgementScreenConfiguration
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class AcknowledgementScreenConfiguration implements Parcelable
Configuration of the acknowledgement screen.
-
-
Field Summary
Fields Modifier and Type Field Description private StyledTexttopBarTitleprivate DocumentQualityminimumQualityprivate AcknowledgementModeacknowledgementModeprivate IconUserGuidanceConfigurationbadImageHintprivate ScanbotColorbackgroundColorprivate AcknowledgementBottomBarbottomBar
-
Constructor Summary
Constructors Constructor Description AcknowledgementScreenConfiguration(Map<String, Object> source)AcknowledgementScreenConfiguration(JSONObject json)AcknowledgementScreenConfiguration(StyledText topBarTitle, DocumentQuality minimumQuality, AcknowledgementMode acknowledgementMode, IconUserGuidanceConfiguration badImageHint, ScanbotColor backgroundColor, AcknowledgementBottomBar bottomBar)
-
Method Summary
Modifier and Type Method Description final StyledTextgetTopBarTitle()Configuration of the title, located in the top bar. final UnitsetTopBarTitle(StyledText topBarTitle)Configuration of the title, located in the top bar. final DocumentQualitygetMinimumQuality()The minimum quality of a scanned page to be deemed acceptable. final UnitsetMinimumQuality(DocumentQuality minimumQuality)The minimum quality of a scanned page to be deemed acceptable. final AcknowledgementModegetAcknowledgementMode()Determines, after each page is snapped, whether the acknowledgment screen should be displayed or not. final UnitsetAcknowledgementMode(AcknowledgementMode acknowledgementMode)Determines, after each page is snapped, whether the acknowledgment screen should be displayed or not. final IconUserGuidanceConfigurationgetBadImageHint()Configuration of the hint that explains that the quality of the scanned page is unacceptable. final UnitsetBadImageHint(IconUserGuidanceConfiguration badImageHint)Configuration of the hint that explains that the quality of the scanned page is unacceptable. final ScanbotColorgetBackgroundColor()The background color of the acknowledgement screen. final UnitsetBackgroundColor(ScanbotColor backgroundColor)The background color of the acknowledgement screen. final AcknowledgementBottomBargetBottomBar()Configuration of the bottom bar for the acknowledgement screen. final UnitsetBottomBar(AcknowledgementBottomBar bottomBar)Configuration of the bottom bar for the acknowledgement screen. final JSONObjecttoJson(ToJsonConfiguration config)final AcknowledgementScreenConfigurationclone()final static AcknowledgementScreenConfigurationdefault()-
-
Constructor Detail
-
AcknowledgementScreenConfiguration
AcknowledgementScreenConfiguration(JSONObject json)
-
AcknowledgementScreenConfiguration
AcknowledgementScreenConfiguration(StyledText topBarTitle, DocumentQuality minimumQuality, AcknowledgementMode acknowledgementMode, IconUserGuidanceConfiguration badImageHint, ScanbotColor backgroundColor, AcknowledgementBottomBar bottomBar)
-
-
Method Detail
-
getTopBarTitle
final StyledText getTopBarTitle()
Configuration of the title, located in the top bar.
-
setTopBarTitle
final Unit setTopBarTitle(StyledText topBarTitle)
Configuration of the title, located in the top bar.
-
getMinimumQuality
final DocumentQuality getMinimumQuality()
The minimum quality of a scanned page to be deemed acceptable. Used in conjunction with the acknowledgement mode.
Default is POOR
-
setMinimumQuality
final Unit setMinimumQuality(DocumentQuality minimumQuality)
The minimum quality of a scanned page to be deemed acceptable. Used in conjunction with the acknowledgement mode.
Default is POOR
-
getAcknowledgementMode
final AcknowledgementMode getAcknowledgementMode()
Determines, after each page is snapped, whether the acknowledgment screen should be displayed or not.
Default is ALWAYS
-
setAcknowledgementMode
final Unit setAcknowledgementMode(AcknowledgementMode acknowledgementMode)
Determines, after each page is snapped, whether the acknowledgment screen should be displayed or not.
Default is ALWAYS
-
getBadImageHint
final IconUserGuidanceConfiguration getBadImageHint()
Configuration of the hint that explains that the quality of the scanned page is unacceptable.
-
setBadImageHint
final Unit setBadImageHint(IconUserGuidanceConfiguration badImageHint)
Configuration of the hint that explains that the quality of the scanned page is unacceptable.
-
getBackgroundColor
final ScanbotColor getBackgroundColor()
The background color of the acknowledgement screen.
Default is "?sbColorOutline"
-
setBackgroundColor
final Unit setBackgroundColor(ScanbotColor backgroundColor)
The background color of the acknowledgement screen.
Default is "?sbColorOutline"
-
getBottomBar
final AcknowledgementBottomBar getBottomBar()
Configuration of the bottom bar for the acknowledgement screen.
-
setBottomBar
final Unit setBottomBar(AcknowledgementBottomBar bottomBar)
Configuration of the bottom bar for the acknowledgement screen.
-
toJson
final JSONObject toJson(ToJsonConfiguration config)
-
clone
final AcknowledgementScreenConfiguration clone()
-
default
final static AcknowledgementScreenConfiguration default()
-
-
-
-