FindAndPickUseCaseViewModel

class FindAndPickUseCaseViewModel(val configuration: BarcodeScannerScreenConfiguration, nativeConfiguration: BarcodeNativeConfiguration, scanner: BarcodeScanner, dispatcher: CoroutineContext, flashAvailable: Boolean, beeper: SoundController) : BaseBarcodeViewModel

Constructors

Link copied to clipboard
constructor(configuration: BarcodeScannerScreenConfiguration, nativeConfiguration: BarcodeNativeConfiguration, scanner: BarcodeScanner, dispatcher: CoroutineContext, flashAvailable: Boolean, beeper: SoundController)

Properties

Link copied to clipboard
val barcodes: <Error class: unknown class><List<BarcodeFormattedData>>
Link copied to clipboard
Link copied to clipboard
val count: <Error class: unknown class><Int>
Link copied to clipboard
val dialog: <Error class: unknown class><FindAndPickUseCaseViewModel.FindAndPickDialog>
Link copied to clipboard
Link copied to clipboard
val requestedCount: <Error class: unknown class><Int>
Link copied to clipboard
val showDialog: <Error class: unknown class><Boolean>
Link copied to clipboard
val submitButtonEnabled: <Error class: unknown class><Boolean>

Functions

Link copied to clipboard
open override fun goBack()
Link copied to clipboard
open override fun onArBarcodeItemClick(barcodeItem: BarcodeItem)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun onItemReset(uuid: String)
Link copied to clipboard
Link copied to clipboard
fun onSetBarcodeCounter(uuid: String, count: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun shouldHighlight(barcodeItem: BarcodeItem): Boolean
Link copied to clipboard
open override fun submitCurrentResult()

This method is called when the activity is closed by timeout with returning the result