Class SingleScanningUseCaseViewModel
[Register("io/scanbot/sdk/ui_v2/barcode/common/SingleScanningUseCaseViewModel", DoNotGenerateAcw = true)]
public sealed class SingleScanningUseCaseViewModel : BaseBarcodeViewModel, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
ViewModelSingleScanningUseCaseViewModel
- Implements
- Inherited Members
Constructors
SingleScanningUseCaseViewModel(BarcodeScannerConfiguration, BarcodeNativeConfiguration, IScanbotBarcodeDetector, ICoroutineContext, bool, ISoundController)
[Register(".ctor", "(Lio/scanbot/sdk/ui_v2/barcode/configuration/BarcodeScannerConfiguration;Lio/scanbot/sdk/ui_v2/barcode/configuration/BarcodeNativeConfiguration;Lio/scanbot/sdk/barcode/ScanbotBarcodeDetector;Lkotlin/coroutines/CoroutineContext;ZLio/scanbot/sdk/util/snap/SoundController;)V", "")]
public SingleScanningUseCaseViewModel(BarcodeScannerConfiguration configuration, BarcodeNativeConfiguration nativeConfiguration, IScanbotBarcodeDetector detector, ICoroutineContext dispatcher, bool flashAvailable, ISoundController beeper)
Parameters
configuration
BarcodeScannerConfigurationnativeConfiguration
BarcodeNativeConfigurationdetector
IScanbotBarcodeDetectordispatcher
ICoroutineContextflashAvailable
boolbeeper
ISoundController
Properties
Configuration
public override BarcodeScannerConfiguration Configuration { get; }
Property Value
FrameHandler
public override BarcodeDetectorFrameHandler FrameHandler { get; }
Property Value
ShowDialog
public IStateFlow ShowDialog { get; }
Property Value
- IStateFlow
Methods
OnArBarcodeItemClick(BarcodeItem)
[Register("onArBarcodeItemClick", "(Lio/scanbot/sdk/barcode/entity/BarcodeItem;)V", "")]
public override void OnArBarcodeItemClick(BarcodeItem barcodeItem)
Parameters
barcodeItem
BarcodeItem
OnCancelErrorDialogClick()
[Register("onCancelErrorDialogClick", "()V", "")]
public void OnCancelErrorDialogClick()
OnDiscardResultClick()
[Register("onDiscardResultClick", "()V", "")]
public void OnDiscardResultClick()
OnRetryErrorDialogClicked()
[Register("onRetryErrorDialogClicked", "()V", "")]
public void OnRetryErrorDialogClicked()
OnSubmitResultClick()
[Register("onSubmitResultClick", "()V", "")]
public void OnSubmitResultClick()