Table of Contents

Class BatchBarcodeListViewModel

Namespace
IO.Scanbot.Sdk.UI.View.Barcode.Batch
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/view/barcode/batch/BatchBarcodeListViewModel", DoNotGenerateAcw = true)]
public sealed class BatchBarcodeListViewModel : ViewModel, IRouter, IJavaObject, IJavaPeerable, IDisposable
Inheritance
ViewModel
BatchBarcodeListViewModel
Implements
Inherited Members

Constructors

BatchBarcodeListViewModel(IFormattedBarcodeDataMapper, BarcodeScanningSession, IDispatchersProvider)

[Register(".ctor", "(Lio/scanbot/sdk/barcode/entity/FormattedBarcodeDataMapper;Lio/scanbot/sdk/ui/view/barcode/BarcodeScanningSession;Lio/scanbot/sdk/ui/coroutines/IDispatchersProvider;)V", "")]
public BatchBarcodeListViewModel(IFormattedBarcodeDataMapper dataMapper, BarcodeScanningSession barcodeScanningSession, IDispatchersProvider dispatchersProvider)

Parameters

dataMapper IFormattedBarcodeDataMapper
barcodeScanningSession BarcodeScanningSession
dispatchersProvider IDispatchersProvider

Properties

Barcodes

public IMutableStateFlow Barcodes { get; }

Property Value

IMutableStateFlow

HighlightDelegate

public BarcodePolygonsView.IBarcodeHighlightDelegate HighlightDelegate { get; }

Property Value

BarcodePolygonsView.IBarcodeHighlightDelegate

NavEvents

public ISharedFlow NavEvents { get; }

Property Value

ISharedFlow

Methods

ClearClick()

[Register("clearClick", "()V", "")]
public void ClearClick()

DeleteScannedBarcode(BarcodeItem)

[Register("deleteScannedBarcode", "(Lio/scanbot/sdk/barcode/entity/BarcodeItem;)V", "")]
public void DeleteScannedBarcode(BarcodeItem barcodeItem)

Parameters

barcodeItem BarcodeItem

DetailsClosed()

[Register("detailsClosed", "()V", "")]
public void DetailsClosed()

DetailsOpened()

[Register("detailsOpened", "()V", "")]
public void DetailsOpened()

Navigate(Object, IContinuation)

[Register("navigate", "(Lio/scanbot/sdk/ui/utils/Event;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;", "")]
[JavaTypeParameters(new string[] { "T extends io.scanbot.sdk.ui.utils.Event" })]
public Object Navigate(Object e, IContinuation _completion)

Parameters

e Object
_completion IContinuation

Returns

Object

OnBarcodeSelected(IList<BarcodeItem>, bool)

[Register("onBarcodeSelected", "(Ljava/util/List;Z)V", "")]
public void OnBarcodeSelected(IList<BarcodeItem> selected, bool automaticSelection)

Parameters

selected IList<BarcodeItem>
automaticSelection bool

OnFinishCurrentState()

[Register("onFinishCurrentState", "()V", "")]
public void OnFinishCurrentState()

SubmitButtonClick()

[Register("submitButtonClick", "()V", "")]
public void SubmitButtonClick()