Table of Contents

Class DocumentAutoSnappingController

Namespace
IO.Scanbot.Sdk.Document
Assembly
DocumentSDK.NET.Droid.dll
public sealed class DocumentAutoSnappingController : BaseDocumentAutoSnappingController, IAutoSnappingController, IBasePictureCallback, IJavaObject, IDisposable, IJavaPeerable
Inheritance
DocumentAutoSnappingController
Implements
Inherited Members

Constructors

DocumentAutoSnappingController(IScanbotCameraView, DocumentScannerFrameHandler)

public DocumentAutoSnappingController(IScanbotCameraView cameraView, DocumentScannerFrameHandler documentScannerFrameHandler)

Parameters

cameraView IScanbotCameraView
documentScannerFrameHandler DocumentScannerFrameHandler

DocumentAutoSnappingController(IScanbotCameraView, DocumentScannerFrameHandler, bool, DefaultConstructorMarker)

public DocumentAutoSnappingController(IScanbotCameraView cameraView, DocumentScannerFrameHandler documentScannerFrameHandler, bool needDetachFromView, DefaultConstructorMarker _constructor_marker)

Parameters

cameraView IScanbotCameraView
documentScannerFrameHandler DocumentScannerFrameHandler
needDetachFromView bool
_constructor_marker DefaultConstructorMarker

Methods

Attach(IScanbotCameraView, DocumentScannerFrameHandler)

public static DocumentAutoSnappingController Attach(IScanbotCameraView cameraView, DocumentScannerFrameHandler frameHandler)

Parameters

cameraView IScanbotCameraView
frameHandler DocumentScannerFrameHandler

Returns

DocumentAutoSnappingController

Attach(IScanbotCameraView, IDocumentScanner)

public static DocumentAutoSnappingController Attach(IScanbotCameraView cameraView, IDocumentScanner documentScanner)

Parameters

cameraView IScanbotCameraView
documentScanner IDocumentScanner

Returns

DocumentAutoSnappingController

Detach()

public override void Detach()

OnPictureTakenInternal(byte[], int, IList<PointF>, bool)

public void OnPictureTakenInternal(byte[] image, int imageOrientation, IList<PointF> finderRect, bool isCapturedAutomatically)

Parameters

image byte[]
imageOrientation int
finderRect IList<PointF>
isCapturedAutomatically bool