Table of Contents

Class BarcodeScanner

Namespace
IO.Scanbot.Barcodescanner
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/barcodescanner/BarcodeScanner", DoNotGenerateAcw = true)]
public sealed class BarcodeScanner : SelfDisposable, IJavaObject, IJavaPeerable, IDisposable
Inheritance
BarcodeScanner
Implements
Inherited Members

Constructors

BarcodeScanner(BarcodeScannerConfig)

[Register(".ctor", "(Lio/scanbot/barcodescanner/model/BarcodeScannerConfig;)V", "")]
public BarcodeScanner(BarcodeScannerConfig scannerConfig)

Parameters

scannerConfig BarcodeScannerConfig

Properties

A

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

Property Value

BarcodeScannerConfig

Methods

Ctor()

[Register("ctor", "()J", "")]
public override long Ctor()

Returns

long

DetectAndDecode(byte[], int, int, int, bool)

[Register("detectAndDecode", "([BIIIZ)Lio/scanbot/barcodescanner/model/BarcodeScannerResult;", "")]
public BarcodeScannerResult DetectAndDecode(byte[] nv21, int width, int height, int orientation, bool isLive)

Parameters

nv21 byte[]
width int
height int
orientation int
isLive bool

Returns

BarcodeScannerResult

DetectAndDecodeBitmap(Bitmap, int)

[Register("detectAndDecodeBitmap", "(Landroid/graphics/Bitmap;I)Lio/scanbot/barcodescanner/model/BarcodeScannerResult;", "")]
public BarcodeScannerResult DetectAndDecodeBitmap(Bitmap bitmap, int orientation)

Parameters

bitmap Bitmap
orientation int

Returns

BarcodeScannerResult

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

[Register("detectAndDecodeInArea", "([BLandroid/graphics/Rect;IIIZ)Lio/scanbot/barcodescanner/model/BarcodeScannerResult;", "")]
public BarcodeScannerResult DetectAndDecodeInArea(byte[] nv21, Rect areaRect, int width, int height, int orientation, bool isLive)

Parameters

nv21 byte[]
areaRect Rect
width int
height int
orientation int
isLive bool

Returns

BarcodeScannerResult

DetectAndDecodeJPEG(byte[], int)

[Register("detectAndDecodeJPEG", "([BI)Lio/scanbot/barcodescanner/model/BarcodeScannerResult;", "")]
public BarcodeScannerResult DetectAndDecodeJPEG(byte[] jpeg, int orientation)

Parameters

jpeg byte[]
orientation int

Returns

BarcodeScannerResult

DetectAndDecodeRgba(byte[], int, int, int)

[Register("detectAndDecodeRgba", "([BIII)Lio/scanbot/barcodescanner/model/BarcodeScannerResult;", "")]
public BarcodeScannerResult DetectAndDecodeRgba(byte[] img, int width, int height, int orientation)

Parameters

img byte[]
width int
height int
orientation int

Returns

BarcodeScannerResult

Dtor(long)

[Register("dtor", "(J)V", "")]
public override void Dtor(long nativeImplPtr)

Parameters

nativeImplPtr long

SetConfig(BarcodeScannerConfig)

[Register("setConfig", "(Lio/scanbot/barcodescanner/model/BarcodeScannerConfig;)V", "")]
public void SetConfig(BarcodeScannerConfig config)

Parameters

config BarcodeScannerConfig