Class FindAndPickUseCaseViewModel
-
- All Implemented Interfaces:
public final class FindAndPickUseCaseViewModel extends BaseBarcodeViewModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
FindAndPickUseCaseViewModel.FindAndPickDialog
public class
FindAndPickUseCaseViewModel.None
public class
FindAndPickUseCaseViewModel.FindAndPickDialogPartial
public class
FindAndPickUseCaseViewModel.FindAndPickDialogConfirmation
public final class
FindAndPickUseCaseViewModel.FindAndPickDialogEditCount
-
Field Summary
Fields Modifier and Type Field Description private final <Error class: unknown class><FindAndPickUseCaseViewModel.FindAndPickDialog>
dialog
private final <Error class: unknown class><Boolean>
showDialog
private final BarcodeDetectorFrameHandler
frameHandler
private final <Error class: unknown class><List<BarcodeFormattedData>>
barcodes
private final <Error class: unknown class><Integer>
count
private final <Error class: unknown class><Integer>
requestedCount
private final <Error class: unknown class><Boolean>
submitButtonEnabled
private final BarcodeScannerConfiguration
configuration
-
Constructor Summary
Constructors Constructor Description FindAndPickUseCaseViewModel(BarcodeScannerConfiguration configuration, BarcodeNativeConfiguration nativeConfiguration, ScanbotBarcodeDetector detector, CoroutineContext dispatcher, Boolean flashAvailable, SoundController beeper)
-
Method Summary
-
-
Constructor Detail
-
FindAndPickUseCaseViewModel
FindAndPickUseCaseViewModel(BarcodeScannerConfiguration configuration, BarcodeNativeConfiguration nativeConfiguration, ScanbotBarcodeDetector detector, CoroutineContext dispatcher, Boolean flashAvailable, SoundController beeper)
-
-
Method Detail
-
getDialog
final <Error class: unknown class><FindAndPickUseCaseViewModel.FindAndPickDialog> getDialog()
-
getShowDialog
final <Error class: unknown class><Boolean> getShowDialog()
-
getFrameHandler
BarcodeDetectorFrameHandler getFrameHandler()
-
getBarcodes
final <Error class: unknown class><List<BarcodeFormattedData>> getBarcodes()
-
getRequestedCount
final <Error class: unknown class><Integer> getRequestedCount()
-
getSubmitButtonEnabled
final <Error class: unknown class><Boolean> getSubmitButtonEnabled()
-
getConfiguration
BarcodeScannerConfiguration getConfiguration()
-
shouldHighlight
Boolean shouldHighlight(BarcodeItem barcodeItem)
-
onArBarcodeItemClick
Unit onArBarcodeItemClick(BarcodeItem barcodeItem)
-
onResetClick
final Unit onResetClick()
-
onConfirmationDiscarded
final Unit onConfirmationDiscarded()
-
onSubmitApproved
final Unit onSubmitApproved()
-
onSubmitClick
final Unit onSubmitClick()
-
onItemReset
final Unit onItemReset(String uuid)
-
onCounterMinus
final Unit onCounterMinus(String uuid)
-
onCounterPlus
final Unit onCounterPlus(String uuid)
-
onCounterManual
final Unit onCounterManual(String uuid)
-
onSetBarcodeCounter
final Unit onSetBarcodeCounter(String uuid, Integer count)
-
onCancelBarcodeCounter
final Unit onCancelBarcodeCounter()
-
-
-
-