Table of Contents

Class SingleScanningUseCaseViewModel

Namespace
IO.Scanbot.Sdk.Ui_v2.Barcode.Common
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/barcode/common/SingleScanningUseCaseViewModel", DoNotGenerateAcw = true)]
public sealed class SingleScanningUseCaseViewModel : BaseBarcodeViewModel, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ViewModel
SingleScanningUseCaseViewModel
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 BarcodeScannerConfiguration
nativeConfiguration BarcodeNativeConfiguration
detector IScanbotBarcodeDetector
dispatcher ICoroutineContext
flashAvailable bool
beeper ISoundController

Properties

Configuration

public override BarcodeScannerConfiguration Configuration { get; }

Property Value

BarcodeScannerConfiguration

FrameHandler

public override BarcodeDetectorFrameHandler FrameHandler { get; }

Property Value

BarcodeDetectorFrameHandler

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()