Table of Contents

Class ContourDetectorFrameHandler

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

Constructors

ContourDetectorFrameHandler(Context, ContourDetector)

[Register(".ctor", "(Landroid/content/Context;Lio/scanbot/sdk/core/contourdetector/ContourDetector;)V", "")]
public ContourDetectorFrameHandler(Context context, ContourDetector contourDetector)

Parameters

context Context
contourDetector ContourDetector

Properties

A

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

Property Value

ContourDetector

B

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

Property Value

ICollection

C

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

Property Value

SapManager

D

[Register("d")]
public ILogger D { get; set; }

Property Value

ILogger

E

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

Property Value

int

F

[Register("f")]
public int F { get; set; }

Property Value

int

G

[Register("g")]
public IList G { get; set; }

Property Value

IList

H

[Register("h")]
public bool H { get; set; }

Property Value

bool

Methods

AddResultHandler(IResultHandler)

[Register("addResultHandler", "(Lio/scanbot/sdk/contourdetector/ContourDetectorFrameHandler$ResultHandler;)V", "")]
public void AddResultHandler(ContourDetectorFrameHandler.IResultHandler handler)

Parameters

handler ContourDetectorFrameHandler.IResultHandler

Attach(IScanbotCameraView, ContourDetector)

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

Parameters

cameraView IScanbotCameraView
detector ContourDetector

Returns

ContourDetectorFrameHandler

ClearResultHandlers()

[Register("clearResultHandlers", "()V", "")]
public void ClearResultHandlers()

HandleFrame(Frame)

[Register("handleFrame", "(Lio/scanbot/sdk/camera/FrameHandler$Frame;)Z", "")]
public override bool HandleFrame(FrameHandler.Frame previewFrame)

Parameters

previewFrame FrameHandler.Frame

Returns

bool

NotifyHandlers(FrameHandlerResult)

[Register("notifyHandlers", "(Lio/scanbot/sdk/camera/FrameHandlerResult;)Z", "")]
public bool NotifyHandlers(FrameHandlerResult result)

Parameters

result FrameHandlerResult

Returns

bool

RemoveResultHandler(IResultHandler)

[Register("removeResultHandler", "(Lio/scanbot/sdk/contourdetector/ContourDetectorFrameHandler$ResultHandler;)V", "")]
public void RemoveResultHandler(ContourDetectorFrameHandler.IResultHandler handler)

Parameters

handler ContourDetectorFrameHandler.IResultHandler

SetAcceptedAngleScore(double)

[Register("setAcceptedAngleScore", "(D)V", "")]
public void SetAcceptedAngleScore(double acceptedAngleScore)

Parameters

acceptedAngleScore double

SetAcceptedBrightnessThreshold(int)

[Register("setAcceptedBrightnessThreshold", "(I)V", "")]
public void SetAcceptedBrightnessThreshold(int acceptedBrightnessThreshold)

Parameters

acceptedBrightnessThreshold int

SetAcceptedSizeScore(double)

[Register("setAcceptedSizeScore", "(D)V", "")]
public void SetAcceptedSizeScore(double acceptedSizeScore)

Parameters

acceptedSizeScore double

SetRequiredAspectRatios(IList<AspectRatio>)

[Register("setRequiredAspectRatios", "(Ljava/util/List;)V", "")]
public void SetRequiredAspectRatios(IList<AspectRatio> requiredPageAspectRatios)

Parameters

requiredPageAspectRatios IList<AspectRatio>