Table of Contents

Class BarcodeScannerConfiguration

Namespace
IO.Scanbot.Sdk.UI.View.Barcode.Configuration
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/view/barcode/configuration/BarcodeScannerConfiguration", DoNotGenerateAcw = true)]
public sealed class BarcodeScannerConfiguration : Object, IJavaObject, IJavaPeerable, IDisposable, ISharedBarcodeScannerConfiguration
Inheritance
BarcodeScannerConfiguration
Implements
Inherited Members

Constructors

BarcodeScannerConfiguration()

[Register(".ctor", "()V", "")]
public BarcodeScannerConfiguration()

Properties

NativeParams

public BarcodeScannerNativeConfiguration NativeParams { get; }

Property Value

BarcodeScannerNativeConfiguration

Params

public BarcodeScannerJsonConfiguration Params { get; }

Property Value

BarcodeScannerJsonConfiguration

Methods

SetAcceptedDocumentFormats(IList<BarcodeDocumentFormat>)

[Register("setAcceptedDocumentFormats", "(Ljava/util/ArrayList;)V", "")]
public void SetAcceptedDocumentFormats(IList<BarcodeDocumentFormat> documentFormats)

Parameters

documentFormats IList<BarcodeDocumentFormat>

SetAdditionalDetectionParameters(BarcodeScannerAdditionalConfiguration)

[Register("setAdditionalDetectionParameters", "(Lio/scanbot/sdk/ui/view/barcode/configuration/BarcodeScannerAdditionalConfiguration;)V", "")]
public void SetAdditionalDetectionParameters(BarcodeScannerAdditionalConfiguration additionalConfiguration)

Parameters

additionalConfiguration BarcodeScannerAdditionalConfiguration

SetAutoCancelTimeout(int)

[Register("setAutoCancelTimeout", "(I)V", "")]
public void SetAutoCancelTimeout(int seconds)

Parameters

seconds int

SetBarcodeFilter(IBarcodeFilter)

[Register("setBarcodeFilter", "(Lio/scanbot/sdk/barcode/IBarcodeFilter;)V", "")]
public void SetBarcodeFilter(IBarcodeFilter barcodeFilter)

Parameters

barcodeFilter IBarcodeFilter

SetBarcodeFormatsFilter(IList<BarcodeFormat>)

[Register("setBarcodeFormatsFilter", "(Ljava/util/List;)V", "")]
public void SetBarcodeFormatsFilter(IList<BarcodeFormat> barcodeFormat)

Parameters

barcodeFormat IList<BarcodeFormat>

SetBarcodeImageGenerationType(BarcodeImageGenerationType)

[Register("setBarcodeImageGenerationType", "(Lio/scanbot/sdk/ui/view/barcode/configuration/BarcodeImageGenerationType;)V", "")]
public void SetBarcodeImageGenerationType(BarcodeImageGenerationType imageType)

Parameters

imageType BarcodeImageGenerationType

SetCameraModule(CameraModule)

[Register("setCameraModule", "(Lio/scanbot/sdk/camera/CameraModule;)V", "")]
public void SetCameraModule(CameraModule cameraModule)

Parameters

cameraModule CameraModule

SetCameraOverlayColor(int)

[Register("setCameraOverlayColor", "(I)V", "")]
public void SetCameraOverlayColor(int cameraOverlayColor)

Parameters

cameraOverlayColor int

SetCameraPreviewMode(CameraPreviewMode)

[Register("setCameraPreviewMode", "(Lio/scanbot/sdk/camera/CameraPreviewMode;)V", "")]
public void SetCameraPreviewMode(CameraPreviewMode cameraPreviewMode)

Parameters

cameraPreviewMode CameraPreviewMode

SetCameraZoomRange(ZoomRange)

[Register("setCameraZoomRange", "(Lio/scanbot/sdk/camera/ZoomRange;)V", "")]
public void SetCameraZoomRange(ZoomRange zoomRange)

Parameters

zoomRange ZoomRange

SetCameraZoomRatio(float)

[Register("setCameraZoomRatio", "(F)V", "")]
public void SetCameraZoomRatio(float zoomFactor)

Parameters

zoomFactor float

SetCancelButtonIcon(int)

[Register("setCancelButtonIcon", "(I)V", "")]
public void SetCancelButtonIcon(int cancelButtonIcon)

Parameters

cancelButtonIcon int

SetCancelButtonTitle(string)

[Register("setCancelButtonTitle", "(Ljava/lang/String;)V", "")]
public void SetCancelButtonTitle(string cancelButtonTitle)

Parameters

cancelButtonTitle string

SetConfirmationDialogConfiguration(BarcodeConfirmationDialogConfiguration)

[Register("setConfirmationDialogConfiguration", "(Lio/scanbot/sdk/ui/view/barcode/dialog/BarcodeConfirmationDialogConfiguration;)V", "")]
public void SetConfirmationDialogConfiguration(BarcodeConfirmationDialogConfiguration configuration)

Parameters

configuration BarcodeConfirmationDialogConfiguration

SetDelayAfterFocusCompleteMs(long)

[Register("setDelayAfterFocusCompleteMs", "(J)V", "")]
public void SetDelayAfterFocusCompleteMs(long delay)

Parameters

delay long

SetDelayAfterScanMs(long)

[Register("setDelayAfterScanMs", "(J)V", "")]
public void SetDelayAfterScanMs(long milliseconds)

Parameters

milliseconds long

SetEnableCameraButtonTitle(string)

[Register("setEnableCameraButtonTitle", "(Ljava/lang/String;)V", "")]
public void SetEnableCameraButtonTitle(string enableCameraButtonTitle)

Parameters

enableCameraButtonTitle string

SetEnableCameraExplanationText(string)

[Register("setEnableCameraExplanationText", "(Ljava/lang/String;)V", "")]
public void SetEnableCameraExplanationText(string enableCameraExplanationText)

Parameters

enableCameraExplanationText string

SetEngineMode(EngineMode)

[Register("setEngineMode", "(Lio/scanbot/sdk/barcode/entity/EngineMode;)V", "")]
public void SetEngineMode(EngineMode engineMode)

Parameters

engineMode EngineMode

SetFinderAspectRatio(AspectRatio)

[Register("setFinderAspectRatio", "(Lio/scanbot/sdk/AspectRatio;)V", "")]
public void SetFinderAspectRatio(AspectRatio finderAspectRatio)

Parameters

finderAspectRatio AspectRatio

SetFinderLineColor(int)

[Register("setFinderLineColor", "(I)V", "")]
public void SetFinderLineColor(int finderLineColor)

Parameters

finderLineColor int

SetFinderLineWidth(int)

[Register("setFinderLineWidth", "(I)V", "")]
public void SetFinderLineWidth(int finderLineWidth)

Parameters

finderLineWidth int

SetFinderTextHint(string)

[Register("setFinderTextHint", "(Ljava/lang/String;)V", "")]
public void SetFinderTextHint(string finderTextHint)

Parameters

finderTextHint string

SetFinderTextHintColor(int)

[Register("setFinderTextHintColor", "(I)V", "")]
public void SetFinderTextHintColor(int finderTextHintColor)

Parameters

finderTextHintColor int

SetFlashEnabled(bool)

[Register("setFlashEnabled", "(Z)V", "")]
public void SetFlashEnabled(bool flashEnabled)

Parameters

flashEnabled bool

SetInitialScanDelayMs(long)

[Register("setInitialScanDelayMs", "(J)V", "")]
public void SetInitialScanDelayMs(long milliseconds)

Parameters

milliseconds long

SetMinFocusDistanceLock(bool)

[Register("setMinFocusDistanceLock", "(Z)V", "")]
public void SetMinFocusDistanceLock(bool @lock)

Parameters

lock bool

SetOrientationLockMode(CameraOrientationMode)

[Register("setOrientationLockMode", "(Lio/scanbot/sdk/ui/view/base/configuration/CameraOrientationMode;)V", "")]
public void SetOrientationLockMode(CameraOrientationMode cameraOrientationMode)

Parameters

cameraOrientationMode CameraOrientationMode

SetSelectionOverlayConfiguration(SelectionOverlayConfiguration)

[Register("setSelectionOverlayConfiguration", "(Lio/scanbot/sdk/ui/view/barcode/SelectionOverlayConfiguration;)V", "")]
public void SetSelectionOverlayConfiguration(SelectionOverlayConfiguration configuration)

Parameters

configuration SelectionOverlayConfiguration

SetSuccessBeepEnabled(bool)

[Register("setSuccessBeepEnabled", "(Z)V", "")]
public void SetSuccessBeepEnabled(bool successBeepEnabled)

Parameters

successBeepEnabled bool

SetTopBarBackgroundColor(int)

[Register("setTopBarBackgroundColor", "(I)V", "")]
public void SetTopBarBackgroundColor(int topBarBackgroundColor)

Parameters

topBarBackgroundColor int

SetTopBarButtonsColor(int)

[Register("setTopBarButtonsColor", "(I)V", "")]
public void SetTopBarButtonsColor(int topBarButtonsColor)

Parameters

topBarButtonsColor int

SetTopBarButtonsInactiveColor(int)

[Register("setTopBarButtonsInactiveColor", "(I)V", "")]
public void SetTopBarButtonsInactiveColor(int topBarButtonsInactiveColor)

Parameters

topBarButtonsInactiveColor int

SetTouchToFocusEnabled(bool)

[Register("setTouchToFocusEnabled", "(Z)V", "")]
public void SetTouchToFocusEnabled(bool enabled)

Parameters

enabled bool

SetUseButtonsAllCaps(bool)

[Register("setUseButtonsAllCaps", "(Z)V", "")]
public void SetUseButtonsAllCaps(bool allCaps)

Parameters

allCaps bool

SetViewFinderEnabled(bool)

[Register("setViewFinderEnabled", "(Z)V", "")]
public void SetViewFinderEnabled(bool viewFinderEnabled)

Parameters

viewFinderEnabled bool