Table of Contents

Interface IBarcodeCameraView.IViewModel

Namespace
IO.Scanbot.Sdk.UI.View.Barcode
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/view/barcode/IBarcodeCameraView$ViewModel", "", "IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker")]
public interface IBarcodeCameraView.IViewModel : IJavaObject, IJavaPeerable, IDisposable
Inherited Members

Properties

AutoSnapEnabled

IStateFlow AutoSnapEnabled { get; }

Property Value

IStateFlow

BarcodeFilter

IStateFlow BarcodeFilter { get; }

Property Value

IStateFlow

CameraOpened

IStateFlow CameraOpened { get; }

Property Value

IStateFlow

Flash

IStateFlow Flash { get; }

Property Value

IStateFlow

Scanner

IScanbotBarcodeDetector Scanner { get; }

Property Value

IScanbotBarcodeDetector

StopNewFrames

IStateFlow StopNewFrames { get; }

Property Value

IStateFlow

Methods

BarcodeScanned(FrameHandlerResult)

[Register("barcodeScanned", "(Lio/scanbot/sdk/camera/FrameHandlerResult;)V", "GetBarcodeScanned_Lio_scanbot_sdk_camera_FrameHandlerResult_Handler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void BarcodeScanned(FrameHandlerResult result)

Parameters

result FrameHandlerResult

GetConfirmationState()

[Register("getConfirmationState", "()Lkotlinx/coroutines/flow/StateFlow;", "GetGetConfirmationStateHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
IStateFlow GetConfirmationState()

Returns

IStateFlow

OnCameraOpened()

[Register("onCameraOpened", "()V", "GetOnCameraOpenedHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void OnCameraOpened()

OnCancelClicked()

[Register("onCancelClicked", "()V", "GetOnCancelClickedHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void OnCancelClicked()

OnConfirmationRemoved()

[Register("onConfirmationRemoved", "()V", "GetOnConfirmationRemovedHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void OnConfirmationRemoved()

OnFlashClicked()

[Register("onFlashClicked", "()V", "GetOnFlashClickedHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void OnFlashClicked()

OnRestartScanning()

[Register("onRestartScanning", "()V", "GetOnRestartScanningHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void OnRestartScanning()

OnResultConfirmationPending()

[Register("onResultConfirmationPending", "()V", "GetOnResultConfirmationPendingHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void OnResultConfirmationPending()

OnResultConfirmed(BarcodeScanningResult)

[Register("onResultConfirmed", "(Lio/scanbot/sdk/barcode/entity/BarcodeScanningResult;)V", "GetOnResultConfirmed_Lio_scanbot_sdk_barcode_entity_BarcodeScanningResult_Handler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void OnResultConfirmed(BarcodeScanningResult result)

Parameters

result BarcodeScanningResult

OnSelectionOverlayBarcodeClicked(BarcodeItem)

[Register("onSelectionOverlayBarcodeClicked", "(Lio/scanbot/sdk/barcode/entity/BarcodeItem;)V", "GetOnSelectionOverlayBarcodeClicked_Lio_scanbot_sdk_barcode_entity_BarcodeItem_Handler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void OnSelectionOverlayBarcodeClicked(BarcodeItem barcodeItem)

Parameters

barcodeItem BarcodeItem

PageSnapped(byte[], int)

[Register("pageSnapped", "([BI)V", "GetPageSnapped_arrayBIHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void PageSnapped(byte[] image, int imageOrientation)

Parameters

image byte[]
imageOrientation int

SetAcceptedDocumentFormats(IList<BarcodeDocumentFormat>)

[Register("setAcceptedDocumentFormats", "(Ljava/util/List;)V", "GetSetAcceptedDocumentFormats_Ljava_util_List_Handler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetAcceptedDocumentFormats(IList<BarcodeDocumentFormat> formats)

Parameters

formats IList<BarcodeDocumentFormat>

SetAutoCancelTimeout(int)

[Register("setAutoCancelTimeout", "(I)V", "GetSetAutoCancelTimeout_IHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetAutoCancelTimeout(int timeoutInSeconds)

Parameters

timeoutInSeconds int

SetAutoStopOnSuccess(bool)

[Register("setAutoStopOnSuccess", "(Z)V", "GetSetAutoStopOnSuccess_ZHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetAutoStopOnSuccess(bool enabled)

Parameters

enabled bool

SetAutomaticSelectionEnabled(bool)

[Register("setAutomaticSelectionEnabled", "(Z)V", "GetSetAutomaticSelectionEnabled_ZHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetAutomaticSelectionEnabled(bool enabled)

Parameters

enabled bool

SetBarcodeFilter(IBarcodeFilter)

[Register("setBarcodeFilter", "(Lio/scanbot/sdk/barcode/IBarcodeFilter;)V", "GetSetBarcodeFilter_Lio_scanbot_sdk_barcode_IBarcodeFilter_Handler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetBarcodeFilter(IBarcodeFilter barcodeFilter)

Parameters

barcodeFilter IBarcodeFilter

SetBarcodeFormatsFilter(IList<BarcodeFormat>)

[Register("setBarcodeFormatsFilter", "(Ljava/util/List;)V", "GetSetBarcodeFormatsFilter_Ljava_util_List_Handler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetBarcodeFormatsFilter(IList<BarcodeFormat> barcodeFormats)

Parameters

barcodeFormats IList<BarcodeFormat>

SetCodeDensity(BarcodeDensity)

[Register("setCodeDensity", "(Lio/scanbot/sdk/barcode/entity/BarcodeDensity;)V", "GetSetCodeDensity_Lio_scanbot_sdk_barcode_entity_BarcodeDensity_Handler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetCodeDensity(BarcodeDensity codeDensity)

Parameters

codeDensity BarcodeDensity

SetConfirmationDialogEnabled(bool)

[Register("setConfirmationDialogEnabled", "(Z)V", "GetSetConfirmationDialogEnabled_ZHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetConfirmationDialogEnabled(bool enabled)

Parameters

enabled bool

SetDelayAfterScanMs(long)

[Register("setDelayAfterScanMs", "(J)V", "GetSetDelayAfterScanMs_JHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetDelayAfterScanMs(long ms)

Parameters

ms long

SetEngineMode(EngineMode)

[Register("setEngineMode", "(Lio/scanbot/sdk/barcode/entity/EngineMode;)V", "GetSetEngineMode_Lio_scanbot_sdk_barcode_entity_EngineMode_Handler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetEngineMode(EngineMode engineMode)

Parameters

engineMode EngineMode

SetGs1HandlingMode(Gs1Handling)

[Register("setGs1HandlingMode", "(Lio/scanbot/sdk/barcode/entity/Gs1Handling;)V", "GetSetGs1HandlingMode_Lio_scanbot_sdk_barcode_entity_Gs1Handling_Handler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetGs1HandlingMode(Gs1Handling gs1Handling)

Parameters

gs1Handling Gs1Handling

SetInitialScanDelayMs(long)

[Register("setInitialScanDelayMs", "(J)V", "GetSetInitialScanDelayMs_JHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetInitialScanDelayMs(long ms)

Parameters

ms long

SetLowPowerMode(bool)

[Register("setLowPowerMode", "(Z)V", "GetSetLowPowerMode_ZHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetLowPowerMode(bool lowPowerMode)

Parameters

lowPowerMode bool

SetMaximumTextLength(int)

[Register("setMaximumTextLength", "(I)V", "GetSetMaximumTextLength_IHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetMaximumTextLength(int maximumTextLength)

Parameters

maximumTextLength int

SetMinimum1DQuietZoneSize(int)

[Register("setMinimum1DQuietZoneSize", "(I)V", "GetSetMinimum1DQuietZoneSize_IHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetMinimum1DQuietZoneSize(int minimum1DQuietZoneSize)

Parameters

minimum1DQuietZoneSize int

SetMinimumTextLength(int)

[Register("setMinimumTextLength", "(I)V", "GetSetMinimumTextLength_IHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetMinimumTextLength(int minimumTextLength)

Parameters

minimumTextLength int

SetMsiPlesseyChecksumAlgorithms(EnumSet)

[Register("setMsiPlesseyChecksumAlgorithms", "(Ljava/util/EnumSet;)V", "GetSetMsiPlesseyChecksumAlgorithms_Ljava_util_EnumSet_Handler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetMsiPlesseyChecksumAlgorithms(EnumSet msiPlesseyChecksumAlgorithms)

Parameters

msiPlesseyChecksumAlgorithms EnumSet

SetStripCheckDigits(bool)

[Register("setStripCheckDigits", "(Z)V", "GetSetStripCheckDigits_ZHandler:IO.Scanbot.Sdk.UI.View.Barcode.IBarcodeCameraView/IViewModelInvoker, BarcodeSDK.NET.Droid")]
void SetStripCheckDigits(bool stripCheckDigits)

Parameters

stripCheckDigits bool