Table of Contents

Class DocumentAutoSnappingController

Namespace
IO.Scanbot.Sdk.Contourdetector
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/contourdetector/DocumentAutoSnappingController", DoNotGenerateAcw = true)]
public sealed class DocumentAutoSnappingController : BaseContourAutoSnappingController, IAutoSnappingController, IBasePictureCallback, IJavaObject, IJavaPeerable, IDisposable
Inheritance
DocumentAutoSnappingController
Implements
Inherited Members

Constructors

DocumentAutoSnappingController(IScanbotCameraView, ContourDetectorFrameHandler)

[Register(".ctor", "(Lio/scanbot/sdk/ui/camera/IScanbotCameraView;Lio/scanbot/sdk/contourdetector/ContourDetectorFrameHandler;)V", "")]
public DocumentAutoSnappingController(IScanbotCameraView cameraView, ContourDetectorFrameHandler contourDetectorFrameHandler)

Parameters

cameraView IScanbotCameraView
contourDetectorFrameHandler ContourDetectorFrameHandler

DocumentAutoSnappingController(IScanbotCameraView, ContourDetectorFrameHandler, bool, DefaultConstructorMarker)

[Register(".ctor", "(Lio/scanbot/sdk/ui/camera/IScanbotCameraView;Lio/scanbot/sdk/contourdetector/ContourDetectorFrameHandler;ZLkotlin/jvm/internal/DefaultConstructorMarker;)V", "")]
public DocumentAutoSnappingController(IScanbotCameraView cameraView, ContourDetectorFrameHandler contourDetectorFrameHandler, bool needDetachFromView, DefaultConstructorMarker _constructor_marker)

Parameters

cameraView IScanbotCameraView
contourDetectorFrameHandler ContourDetectorFrameHandler
needDetachFromView bool
_constructor_marker DefaultConstructorMarker

Properties

B

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

Property Value

ContourDetectorFrameHandler

C

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

Property Value

bool

D

[Register("d")]
public ContourDetectorFrameHandler.IResultHandler D { get; set; }

Property Value

ContourDetectorFrameHandler.IResultHandler

Methods

A(DocumentAutoSnappingController, FrameHandlerResult)

[Register("a", "(Lio/scanbot/sdk/contourdetector/DocumentAutoSnappingController;Lio/scanbot/sdk/camera/FrameHandlerResult;)Z", "")]
public static bool A(DocumentAutoSnappingController this_0, FrameHandlerResult result)

Parameters

this_0 DocumentAutoSnappingController
result FrameHandlerResult

Returns

bool

Attach(IScanbotCameraView, ContourDetectorFrameHandler)

[Register("attach", "(Lio/scanbot/sdk/ui/camera/IScanbotCameraView;Lio/scanbot/sdk/contourdetector/ContourDetectorFrameHandler;)Lio/scanbot/sdk/contourdetector/DocumentAutoSnappingController;", "")]
public static DocumentAutoSnappingController Attach(IScanbotCameraView cameraView, ContourDetectorFrameHandler frameHandler)

Parameters

cameraView IScanbotCameraView
frameHandler ContourDetectorFrameHandler

Returns

DocumentAutoSnappingController

Attach(IScanbotCameraView, ContourDetector)

[Register("attach", "(Lio/scanbot/sdk/ui/camera/IScanbotCameraView;Lio/scanbot/sdk/core/contourdetector/ContourDetector;)Lio/scanbot/sdk/contourdetector/DocumentAutoSnappingController;", "")]
public static DocumentAutoSnappingController Attach(IScanbotCameraView cameraView, ContourDetector contourDetector)

Parameters

cameraView IScanbotCameraView
contourDetector ContourDetector

Returns

DocumentAutoSnappingController

Detach()

[Register("detach", "()V", "")]
public override void Detach()

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

[Register("onPictureTakenInternal", "([BILjava/util/List;Z)V", "")]
public void OnPictureTakenInternal(byte[] image, int imageOrientation, IList<PointF> finderRect, bool isCapturedAutomatically)

Parameters

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