Class AcknowledgementBottomBar
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class AcknowledgementBottomBar implements Parcelable
Configuration of the bottom bar for the acknowledgement screen.
-
-
Field Summary
Fields Modifier and Type Field Description private BarButtonConfiguration
retakeButton
private BarButtonConfiguration
acceptWhenOkButton
private BarButtonConfiguration
acceptWhenNotOkButton
-
Constructor Summary
Constructors Constructor Description AcknowledgementBottomBar(Map<String, Object> source)
AcknowledgementBottomBar(JSONObject json)
AcknowledgementBottomBar(BarButtonConfiguration retakeButton, BarButtonConfiguration acceptWhenOkButton, BarButtonConfiguration acceptWhenNotOkButton)
-
Method Summary
Modifier and Type Method Description final BarButtonConfiguration
getRetakeButton()
Configuration of the 'retake' button. final Unit
setRetakeButton(BarButtonConfiguration retakeButton)
Configuration of the 'retake' button. final BarButtonConfiguration
getAcceptWhenOkButton()
Configuration of the 'accept' button, when the quality of the scanned page is acceptable. final Unit
setAcceptWhenOkButton(BarButtonConfiguration acceptWhenOkButton)
Configuration of the 'accept' button, when the quality of the scanned page is acceptable. final BarButtonConfiguration
getAcceptWhenNotOkButton()
Configuration of the 'accept' button, when the quality of the scanned page is unacceptable. final Unit
setAcceptWhenNotOkButton(BarButtonConfiguration acceptWhenNotOkButton)
Configuration of the 'accept' button, when the quality of the scanned page is unacceptable. final JSONObject
toJson()
final static AcknowledgementBottomBar
default()
-
-
Constructor Detail
-
AcknowledgementBottomBar
AcknowledgementBottomBar(JSONObject json)
-
AcknowledgementBottomBar
AcknowledgementBottomBar(BarButtonConfiguration retakeButton, BarButtonConfiguration acceptWhenOkButton, BarButtonConfiguration acceptWhenNotOkButton)
-
-
Method Detail
-
getRetakeButton
final BarButtonConfiguration getRetakeButton()
Configuration of the 'retake' button.
-
setRetakeButton
final Unit setRetakeButton(BarButtonConfiguration retakeButton)
Configuration of the 'retake' button.
-
getAcceptWhenOkButton
final BarButtonConfiguration getAcceptWhenOkButton()
Configuration of the 'accept' button, when the quality of the scanned page is acceptable.
-
setAcceptWhenOkButton
final Unit setAcceptWhenOkButton(BarButtonConfiguration acceptWhenOkButton)
Configuration of the 'accept' button, when the quality of the scanned page is acceptable.
-
getAcceptWhenNotOkButton
final BarButtonConfiguration getAcceptWhenNotOkButton()
Configuration of the 'accept' button, when the quality of the scanned page is unacceptable.
-
setAcceptWhenNotOkButton
final Unit setAcceptWhenNotOkButton(BarButtonConfiguration acceptWhenNotOkButton)
Configuration of the 'accept' button, when the quality of the scanned page is unacceptable.
-
toJson
final JSONObject toJson()
-
default
final static AcknowledgementBottomBar default()
-
-
-
-