Table of Contents

Class DefaultScanbotBarcodeDetector

Namespace
IO.Scanbot.Sdk.Barcode
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/barcode/DefaultScanbotBarcodeDetector", DoNotGenerateAcw = true)]
public sealed class DefaultScanbotBarcodeDetector : Object, IScanbotBarcodeDetector, IJavaObject, IJavaPeerable, IDisposable
Inheritance
DefaultScanbotBarcodeDetector
Implements
Inherited Members
Extension Methods

Constructors

DefaultScanbotBarcodeDetector()

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

Properties

A

[Register("a")]
public ILogger A { get; set; }

Property Value

ILogger

B

[Register("b")]
public BarcodeScannerConfig B { get; set; }

Property Value

BarcodeScannerConfig

C

[Register("c")]
public AtomicBoolean C { get; set; }

Property Value

AtomicBoolean

E

[Register("e")]
public SapManager E { get; set; }

Property Value

SapManager

Methods

DetectFromBitmap(Bitmap, int)

[Register("detectFromBitmap", "(Landroid/graphics/Bitmap;I)Lio/scanbot/sdk/barcode/entity/BarcodeScanningResult;", "")]
public BarcodeScanningResult DetectFromBitmap(Bitmap bitmap, int frameOrientation)

Parameters

bitmap Bitmap
frameOrientation int

Returns

BarcodeScanningResult

DetectFromJpeg(byte[], int)

[Register("detectFromJpeg", "([BI)Lio/scanbot/sdk/barcode/entity/BarcodeScanningResult;", "")]
public BarcodeScanningResult DetectFromJpeg(byte[] jpeg, int frameOrientation)

Parameters

jpeg byte[]
frameOrientation int

Returns

BarcodeScanningResult

DetectFromNv21(byte[], int, int, int)

[Register("detectFromNv21", "([BIII)Lio/scanbot/sdk/barcode/entity/BarcodeScanningResult;", "")]
public BarcodeScanningResult DetectFromNv21(byte[] nv21, int width, int height, int frameOrientation)

Parameters

nv21 byte[]
width int
height int
frameOrientation int

Returns

BarcodeScanningResult

DetectFromNv21(byte[], int, int, int, Rect)

[Register("detectFromNv21", "([BIIILandroid/graphics/Rect;)Lio/scanbot/sdk/barcode/entity/BarcodeScanningResult;", "")]
public BarcodeScanningResult DetectFromNv21(byte[] nv21, int width, int height, int frameOrientation, Rect finderRect)

Parameters

nv21 byte[]
width int
height int
frameOrientation int
finderRect Rect

Returns

BarcodeScanningResult

DetectFromNv21(byte[], int, int, int, Rect, bool)

[Register("detectFromNv21", "([BIIILandroid/graphics/Rect;Z)Lio/scanbot/sdk/barcode/entity/BarcodeScanningResult;", "")]
public BarcodeScanningResult DetectFromNv21(byte[] nv21, int width, int height, int frameOrientation, Rect finderRect, bool isLive)

Parameters

nv21 byte[]
width int
height int
frameOrientation int
finderRect Rect
isLive bool

Returns

BarcodeScanningResult

DetectFromRgba(byte[], int, int, int)

[Register("detectFromRgba", "([BIII)Lio/scanbot/sdk/barcode/entity/BarcodeScanningResult;", "")]
public BarcodeScanningResult DetectFromRgba(byte[] img, int width, int height, int frameOrientation)

Parameters

img byte[]
width int
height int
frameOrientation int

Returns

BarcodeScanningResult

EnableBarcodeScan(bool)

[Register("enableBarcodeScan", "(Z)V", "")]
public void EnableBarcodeScan(bool barcodeScanEnabled)

Parameters

barcodeScanEnabled bool

ModifyConfig(IFunction1)

[Register("modifyConfig", "(Lkotlin/jvm/functions/Function1;)V", "")]
public void ModifyConfig(IFunction1 mutatingFunc)

Parameters

mutatingFunc IFunction1

SetConfig(BarcodeScannerConfig)

[Register("setConfig", "(Lio/scanbot/sdk/barcode/entity/BarcodeScannerConfig;)V", "")]
public void SetConfig(BarcodeScannerConfig config)

Parameters

config BarcodeScannerConfig