Class MultipleScanningUseCaseViewModel
-
- All Implemented Interfaces:
public final class MultipleScanningUseCaseViewModel extends BaseBarcodeViewModel
-
-
Field Summary
Fields Modifier and Type Field Description private final <Error class: unknown class><Boolean>
showErrorDialog
private final BarcodeDetectorFrameHandler
frameHandler
private final <Error class: unknown class><ManualEditDialogData>
countEditDialog
private final <Error class: unknown class><Boolean>
showCountEditDialog
private final <Error class: unknown class><List<BarcodeFormattedData>>
barcodes
private final <Error class: unknown class><Integer>
count
private final <Error class: unknown class><Boolean>
submitEnabled
private final <Error class: unknown class>
isLoading
private final BarcodeScannerConfiguration
configuration
-
Constructor Summary
Constructors Constructor Description MultipleScanningUseCaseViewModel(BarcodeScannerConfiguration configuration, BarcodeNativeConfiguration nativeConfiguration, ScanbotBarcodeDetector detector, CoroutineContext dispatcher, Boolean flashAvailable, SoundController beeper)
-
Method Summary
-
-
Constructor Detail
-
MultipleScanningUseCaseViewModel
MultipleScanningUseCaseViewModel(BarcodeScannerConfiguration configuration, BarcodeNativeConfiguration nativeConfiguration, ScanbotBarcodeDetector detector, CoroutineContext dispatcher, Boolean flashAvailable, SoundController beeper)
-
-
Method Detail
-
getShowErrorDialog
final <Error class: unknown class><Boolean> getShowErrorDialog()
-
getFrameHandler
BarcodeDetectorFrameHandler getFrameHandler()
-
getCountEditDialog
final <Error class: unknown class><ManualEditDialogData> getCountEditDialog()
-
getShowCountEditDialog
final <Error class: unknown class><Boolean> getShowCountEditDialog()
-
getBarcodes
final <Error class: unknown class><List<BarcodeFormattedData>> getBarcodes()
-
getSubmitEnabled
final <Error class: unknown class><Boolean> getSubmitEnabled()
-
isLoading
final <Error class: unknown class> isLoading()
-
getConfiguration
BarcodeScannerConfiguration getConfiguration()
-
shouldHighlight
Boolean shouldHighlight(BarcodeItem barcodeItem)
-
onArBarcodeItemClick
Unit onArBarcodeItemClick(BarcodeItem barcodeItem)
-
onClearClick
final Unit onClearClick()
-
onSubmitClick
final Unit onSubmitClick()
-
onItemDelete
final Unit onItemDelete(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()
-
onCancelErrorDialogClick
final Unit onCancelErrorDialogClick()
-
onRetryErrorDialogClicked
final Unit onRetryErrorDialogClicked()
-
-
-
-