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>>documentsprivate final <Error class: unknown class><Double>averageConfidenceprivate 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()UnitsubmitButtonClick()User wants to finish the flow UnitclearClick()User wants to clear the list of items UnitdetailsOpened()User opened the details screen UnitdetailsClosed()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
-
-
-
-