Class GenericDocumentFieldListViewModel
-
- All Implemented Interfaces:
-
io.scanbot.sdk.ui.utils.Router
,io.scanbot.sdk.ui.view.genericdocument.list.IGenericDocumentFieldListView.ViewModel
public final class GenericDocumentFieldListViewModel implements IGenericDocumentFieldListView.ViewModel, Router
ViewModel for IGenericDocumentFieldListView
-
-
Field Summary
Fields Modifier and Type Field Description private final <Error class: unknown class><List<GenericDocument>>
documents
private final <Error class: unknown class><Double>
averageConfidence
private final <Error class: unknown class><Boolean>
detailsOpened
-
Constructor Summary
Constructors Constructor Description GenericDocumentFieldListViewModel(GenericDocumentScanningSession scanningSession, ResultRepository<Object> resultRepository)
-
Method Summary
Modifier and Type Method Description <Error class: unknown class><List<GenericDocument>>
getDocuments()
<Error class: unknown class><Double>
getAverageConfidence()
<Error class: unknown class><Boolean>
getDetailsOpened()
Unit
submitButtonClick()
User wants to finish the flow Unit
clearClick()
User wants to clear the list of items Unit
detailsOpened()
User opened the details screen Unit
detailsClosed()
User closed the details screen -
-
Constructor Detail
-
GenericDocumentFieldListViewModel
GenericDocumentFieldListViewModel(GenericDocumentScanningSession scanningSession, ResultRepository<Object> resultRepository)
-
-
Method Detail
-
getDocuments
<Error class: unknown class><List<GenericDocument>> getDocuments()
-
getAverageConfidence
<Error class: unknown class><Double> getAverageConfidence()
-
getDetailsOpened
<Error class: unknown class><Boolean> getDetailsOpened()
-
submitButtonClick
Unit submitButtonClick()
User wants to finish the flow
-
clearClick
Unit clearClick()
User wants to clear the list of items
-
detailsOpened
Unit detailsOpened()
User opened the details screen
-
detailsClosed
Unit detailsClosed()
User closed the details screen
-
-
-
-