Table of Contents

Class NativeGenericDocumentScanner

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

Constructors

NativeGenericDocumentScanner()

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

Properties

A

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

Property Value

ResultAccumulationConfig

B

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

Property Value

IList

C

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

Property Value

ICollection

Methods

Clear()

[Register("clear", "()V", "")]
public void Clear()

Ctor()

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

Returns

long

Dtor(long)

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

Parameters

nativeImplPtr long

ScanBitmap(Bitmap, bool, int)

[Register("scanBitmap", "(Landroid/graphics/Bitmap;ZI)Lio/scanbot/genericdocument/entity/GenericDocumentScanResult;", "")]
public GenericDocumentScanResult ScanBitmap(Bitmap bitmap, bool shouldRecognize, int orientation)

Parameters

bitmap Bitmap
shouldRecognize bool
orientation int

Returns

GenericDocumentScanResult

ScanJpeg(byte[], bool, int)

[Register("scanJpeg", "([BZI)Lio/scanbot/genericdocument/entity/GenericDocumentScanResult;", "")]
public GenericDocumentScanResult ScanJpeg(byte[] jpeg, bool shouldRecognize, int orientation)

Parameters

jpeg byte[]
shouldRecognize bool
orientation int

Returns

GenericDocumentScanResult

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

[Register("scanNv21", "([BIIILandroid/graphics/Rect;Z)Lio/scanbot/genericdocument/entity/GenericDocumentScanResult;", "")]
public GenericDocumentScanResult ScanNv21(byte[] nv21, int width, int height, int orientation, Rect finderRect, bool shouldRecognize)

Parameters

nv21 byte[]
width int
height int
orientation int
finderRect Rect
shouldRecognize bool

Returns

GenericDocumentScanResult

SetAcceptedDocumentTypes(IList<RootDocumentType>)

[Register("setAcceptedDocumentTypes", "(Ljava/util/List;)V", "")]
public void SetAcceptedDocumentTypes(IList<RootDocumentType> acceptedDocumentTypes)

Parameters

acceptedDocumentTypes IList<RootDocumentType>

SetAccumulationConfiguration(ResultAccumulationConfig)

[Register("setAccumulationConfiguration", "(Lio/scanbot/genericdocument/entity/ResultAccumulationConfig;)V", "")]
public void SetAccumulationConfiguration(ResultAccumulationConfig config)

Parameters

config ResultAccumulationConfig

SetExcludedFieldTypes(ICollection<string>)

[Register("setExcludedFieldTypes", "(Ljava/util/Set;)V", "")]
public void SetExcludedFieldTypes(ICollection<string> excludedFieldTypes)

Parameters

excludedFieldTypes ICollection<string>