Class AcknowledgementViewModel
-
- All Implemented Interfaces:
public final class AcknowledgementViewModel
-
-
Field Summary
Fields Modifier and Type Field Description private final Page
page
private final Boolean
isGoodQuality
private final Boolean
showBadQualityHint
private final AcknowledgementScreenConfiguration
config
private final ScanbotColor
bottomBarBackground
private final ScanbotColor
topBarBackground
-
Constructor Summary
Constructors Constructor Description AcknowledgementViewModel(AcknowledgementScreenConfiguration config, ScanbotColor bottomBarBackground, ScanbotColor topBarBackground, IAcknowledgementViewModel scanSession, CoroutineContext dispatcher, Bundle arguments)
-
Method Summary
Modifier and Type Method Description final Page
getPage()
final Boolean
isGoodQuality()
final Boolean
getShowBadQualityHint()
final AcknowledgementScreenConfiguration
getConfig()
final ScanbotColor
getBottomBarBackground()
final ScanbotColor
getTopBarBackground()
final Unit
onUiAction(AcknowledgeUiAction action)
final Unit
onRetakeClick()
final Unit
onAcceptClick()
-
-
Constructor Detail
-
AcknowledgementViewModel
AcknowledgementViewModel(AcknowledgementScreenConfiguration config, ScanbotColor bottomBarBackground, ScanbotColor topBarBackground, IAcknowledgementViewModel scanSession, CoroutineContext dispatcher, Bundle arguments)
-
-
Method Detail
-
isGoodQuality
final Boolean isGoodQuality()
-
getShowBadQualityHint
final Boolean getShowBadQualityHint()
-
getConfig
final AcknowledgementScreenConfiguration getConfig()
-
getBottomBarBackground
final ScanbotColor getBottomBarBackground()
-
getTopBarBackground
final ScanbotColor getTopBarBackground()
-
onUiAction
final Unit onUiAction(AcknowledgeUiAction action)
-
onRetakeClick
final Unit onRetakeClick()
-
onAcceptClick
final Unit onAcceptClick()
-
-
-
-