Table of Contents

Class MultipleScanningUseCaseViewModel

Namespace
IO.Scanbot.Sdk.Ui_v2.Barcode.Common
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui_v2/barcode/common/MultipleScanningUseCaseViewModel", DoNotGenerateAcw = true)]
public sealed class MultipleScanningUseCaseViewModel : BaseBarcodeViewModel, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ViewModel
MultipleScanningUseCaseViewModel
Implements
Inherited Members

Constructors

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

Barcodes

public IStateFlow Barcodes { get; }

Property Value

IStateFlow

Configuration

public override BarcodeScannerConfiguration Configuration { get; }

Property Value

BarcodeScannerConfiguration

Count

public IStateFlow Count { get; }

Property Value

IStateFlow

CountEditDialog

public IMutableStateFlow CountEditDialog { get; }

Property Value

IMutableStateFlow

FrameHandler

public override BarcodeDetectorFrameHandler FrameHandler { get; }

Property Value

BarcodeDetectorFrameHandler

ShowCountEditDialog

public IStateFlow ShowCountEditDialog { get; }

Property Value

IStateFlow

ShowErrorDialog

public IMutableStateFlow ShowErrorDialog { get; }

Property Value

IMutableStateFlow

Methods

IsLoading()

[Register("isLoading", "()Lkotlinx/coroutines/flow/StateFlow;", "")]
public IStateFlow IsLoading()

Returns

IStateFlow

OnArBarcodeItemClick(BarcodeItem)

[Register("onArBarcodeItemClick", "(Lio/scanbot/sdk/barcode/entity/BarcodeItem;)V", "")]
public override void OnArBarcodeItemClick(BarcodeItem barcodeItem)

Parameters

barcodeItem BarcodeItem

OnCancelBarcodeCounter()

[Register("onCancelBarcodeCounter", "()V", "")]
public void OnCancelBarcodeCounter()

OnCancelErrorDialogClick()

[Register("onCancelErrorDialogClick", "()V", "")]
public void OnCancelErrorDialogClick()

OnClearClick()

[Register("onClearClick", "()V", "")]
public void OnClearClick()

OnCounterManual(string)

[Register("onCounterManual", "(Ljava/lang/String;)V", "")]
public void OnCounterManual(string uuid)

Parameters

uuid string

OnCounterMinus(string)

[Register("onCounterMinus", "(Ljava/lang/String;)V", "")]
public void OnCounterMinus(string uuid)

Parameters

uuid string

OnCounterPlus(string)

[Register("onCounterPlus", "(Ljava/lang/String;)V", "")]
public void OnCounterPlus(string uuid)

Parameters

uuid string

OnItemDelete(string)

[Register("onItemDelete", "(Ljava/lang/String;)V", "")]
public void OnItemDelete(string uuid)

Parameters

uuid string

OnRetryErrorDialogClicked()

[Register("onRetryErrorDialogClicked", "()V", "")]
public void OnRetryErrorDialogClicked()

OnSetBarcodeCounter(string, int)

[Register("onSetBarcodeCounter", "(Ljava/lang/String;I)V", "")]
public void OnSetBarcodeCounter(string uuid, int count)

Parameters

uuid string
count int

OnSubmitClick()

[Register("onSubmitClick", "()V", "")]
public void OnSubmitClick()