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 DocumentQuality
minimumQuality
private AcknowledgementMode
acknowledgementMode
private IconUserGuidanceConfiguration
badImageHint
private ScanbotColor
backgroundColor
private AcknowledgementBottomBar
bottomBar
-
Constructor Summary
Constructors Constructor Description AcknowledgementScreenConfiguration(Map<String, Object> source)
AcknowledgementScreenConfiguration(JSONObject json)
AcknowledgementScreenConfiguration(DocumentQuality minimumQuality, AcknowledgementMode acknowledgementMode, IconUserGuidanceConfiguration badImageHint, ScanbotColor backgroundColor, AcknowledgementBottomBar bottomBar)
-
Method Summary
Modifier and Type Method Description final DocumentQuality
getMinimumQuality()
The minimum quality of a scanned page to be deemed acceptable. final Unit
setMinimumQuality(DocumentQuality minimumQuality)
The minimum quality of a scanned page to be deemed acceptable. final AcknowledgementMode
getAcknowledgementMode()
Determines, after each page is snapped, whether the acknowledgment screen should be displayed or not. final Unit
setAcknowledgementMode(AcknowledgementMode acknowledgementMode)
Determines, after each page is snapped, whether the acknowledgment screen should be displayed or not. final IconUserGuidanceConfiguration
getBadImageHint()
Configuration of the hint that explains that the quality of the scanned page is unacceptable. final Unit
setBadImageHint(IconUserGuidanceConfiguration badImageHint)
Configuration of the hint that explains that the quality of the scanned page is unacceptable. final ScanbotColor
getBackgroundColor()
The background color of the acknowledgement screen. final Unit
setBackgroundColor(ScanbotColor backgroundColor)
The background color of the acknowledgement screen. final AcknowledgementBottomBar
getBottomBar()
Configuration of the bottom bar for the acknowledgement screen. final Unit
setBottomBar(AcknowledgementBottomBar bottomBar)
Configuration of the bottom bar for the acknowledgement screen. final JSONObject
toJson()
final static AcknowledgementScreenConfiguration
default()
-
-
Constructor Detail
-
AcknowledgementScreenConfiguration
AcknowledgementScreenConfiguration(JSONObject json)
-
AcknowledgementScreenConfiguration
AcknowledgementScreenConfiguration(DocumentQuality minimumQuality, AcknowledgementMode acknowledgementMode, IconUserGuidanceConfiguration badImageHint, ScanbotColor backgroundColor, AcknowledgementBottomBar bottomBar)
-
-
Method Detail
-
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()
-
default
final static AcknowledgementScreenConfiguration default()
-
-
-
-