Table of Contents

Class FindAndPickUseCaseViewModel

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

Constructors

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

Dialog

public IMutableStateFlow Dialog { get; }

Property Value

IMutableStateFlow

FrameHandler

public override BarcodeDetectorFrameHandler FrameHandler { get; }

Property Value

BarcodeDetectorFrameHandler

RequestedCount

public IStateFlow RequestedCount { get; }

Property Value

IStateFlow

ShowDialog

public IStateFlow ShowDialog { get; }

Property Value

IStateFlow

SubmitButtonEnabled

public IStateFlow SubmitButtonEnabled { 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

OnCancelBarcodeCounter()

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

OnConfirmationDiscarded()

[Register("onConfirmationDiscarded", "()V", "")]
public void OnConfirmationDiscarded()

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

OnItemReset(string)

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

Parameters

uuid string

OnResetClick()

[Register("onResetClick", "()V", "")]
public void OnResetClick()

OnSetBarcodeCounter(string, int)

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

Parameters

uuid string
count int

OnSubmitApproved()

[Register("onSubmitApproved", "()V", "")]
public void OnSubmitApproved()

OnSubmitClick()

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