Table of Contents

Class BarcodePolygonsView

Namespace
IO.Scanbot.Sdk.Barcode.UI
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/barcode/ui/BarcodePolygonsView", DoNotGenerateAcw = true)]
public sealed class BarcodePolygonsView : FrameLayout, Drawable.ICallback, IAccessibilityEventSource, KeyEvent.ICallback, IViewManager, IViewParent, IBasePolygonView, IJavaObject, IJavaPeerable, IDisposable
Inheritance
BarcodePolygonsView
Implements
Inherited Members

Constructors

BarcodePolygonsView(Context)

[Register(".ctor", "(Landroid/content/Context;)V", "")]
public BarcodePolygonsView(Context context)

Parameters

context Context

BarcodePolygonsView(Context, IAttributeSet)

[Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public BarcodePolygonsView(Context context, IAttributeSet attrs)

Parameters

context Context
attrs IAttributeSet

Fields

RetainBarcodeTimeoutMs

[Register("RETAIN_BARCODE_TIMEOUT_MS")]
public const long RetainBarcodeTimeoutMs = 700

Field Value

long

T

[Register("t")]
public const double T = 0.2

Field Value

double

Properties

B

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

Property Value

IList

BarcodeAppearanceDelegate

public BarcodePolygonsView.IBarcodeAppearanceDelegate BarcodeAppearanceDelegate { get; set; }

Property Value

BarcodePolygonsView.IBarcodeAppearanceDelegate

BarcodeHighlightDelegate

public BarcodePolygonsView.IBarcodeHighlightDelegate BarcodeHighlightDelegate { get; set; }

Property Value

BarcodePolygonsView.IBarcodeHighlightDelegate

BarcodeItemPositionHandler

public BarcodePolygonsView.IBarcodeItemViewPositionHandler BarcodeItemPositionHandler { get; set; }

Property Value

BarcodePolygonsView.IBarcodeItemViewPositionHandler

BarcodeItemViewBinder

public BarcodePolygonsView.IBarcodeItemViewBinder BarcodeItemViewBinder { get; set; }

Property Value

BarcodePolygonsView.IBarcodeItemViewBinder

BarcodeItemViewFactory

public BarcodePolygonsView.IBarcodeItemViewFactory BarcodeItemViewFactory { get; set; }

Property Value

BarcodePolygonsView.IBarcodeItemViewFactory

BarcodesResultHandler

public BarcodeDetectorFrameHandler.IResultHandler BarcodesResultHandler { get; }

Property Value

BarcodeDetectorFrameHandler.IResultHandler

C

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

Property Value

IDictionary

D

[Register("d")]
public BarcodePolygonsView.BarcodePolygonStyle D { get; set; }

Property Value

BarcodePolygonsView.BarcodePolygonStyle

E

[Register("e")]
public BarcodePolygonsView.BarcodeTextViewStyle E { get; set; }

Property Value

BarcodePolygonsView.BarcodeTextViewStyle

F

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

Property Value

PolygonViewHelper

FrameHandler

public FrameHandler FrameHandler { get; }

Property Value

FrameHandler

G

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

Property Value

int

H

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

Property Value

Rect

I

[Register("i")]
public int I { get; set; }

Property Value

int

J

[Register("j")]
public int J { get; set; }

Property Value

int

K

[Register("k")]
public ValueAnimator K { get; set; }

Property Value

ValueAnimator

L

[Register("l")]
public BarcodePolygonsView.IPolygonValueClickListener L { get; set; }

Property Value

BarcodePolygonsView.IPolygonValueClickListener

M

[Register("m")]
public BarcodePolygonsView.IBarcodeAppearanceDelegate M { get; set; }

Property Value

BarcodePolygonsView.IBarcodeAppearanceDelegate

N

[Register("n")]
public BarcodePolygonsView.IBarcodeHighlightDelegate N { get; set; }

Property Value

BarcodePolygonsView.IBarcodeHighlightDelegate

O

[Register("o")]
public BarcodePolygonsView.IBarcodeItemViewFactory O { get; set; }

Property Value

BarcodePolygonsView.IBarcodeItemViewFactory

P

[Register("p")]
public BarcodePolygonsView.IBarcodeItemViewBinder P { get; set; }

Property Value

BarcodePolygonsView.IBarcodeItemViewBinder

PolygonValueClickListener

public BarcodePolygonsView.IPolygonValueClickListener PolygonValueClickListener { get; set; }

Property Value

BarcodePolygonsView.IPolygonValueClickListener

ProcessingEnabled

public bool ProcessingEnabled { get; set; }

Property Value

bool

Q

[Register("q")]
public BarcodePolygonsView.IBarcodeItemViewPositionHandler Q { get; set; }

Property Value

BarcodePolygonsView.IBarcodeItemViewPositionHandler

R

[Register("r")]
public FrameHandler R { get; set; }

Property Value

FrameHandler

S

[Register("s")]
public BarcodeDetectorFrameHandler.IResultHandler S { get; set; }

Property Value

BarcodeDetectorFrameHandler.IResultHandler

Methods

A(View, RectF, BarcodePolygonsView, IList)

[Register("a", "(Landroid/view/View;Landroid/graphics/RectF;Lio/scanbot/sdk/barcode/ui/BarcodePolygonsView;Ljava/util/List;)V", "")]
public static void A(View _this_apply, RectF _rectF, BarcodePolygonsView this_0, IList _pointsF)

Parameters

_this_apply View
_rectF RectF
this_0 BarcodePolygonsView
_pointsF IList

A(BarcodePolygonsView, ValueAnimator)

[Register("a", "(Lio/scanbot/sdk/barcode/ui/BarcodePolygonsView;Landroid/animation/ValueAnimator;)V", "")]
public static void A(BarcodePolygonsView this_0, ValueAnimator it)

Parameters

this_0 BarcodePolygonsView
it ValueAnimator

A(BarcodePolygonsView, View, View)

[Register("a", "(Lio/scanbot/sdk/barcode/ui/BarcodePolygonsView;Landroid/view/View;Landroid/view/View;)V", "")]
public static void A(BarcodePolygonsView this_0, View _newView, View it)

Parameters

this_0 BarcodePolygonsView
_newView View
it View

A(BarcodePolygonsView, FrameHandlerResult)

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

Parameters

this_0 BarcodePolygonsView
result FrameHandlerResult

Returns

bool

A(BarcodePolygonsView, IList)

[Register("a", "(Lio/scanbot/sdk/barcode/ui/BarcodePolygonsView;Ljava/util/List;)V", "")]
public static void A(BarcodePolygonsView this_0, IList _newValues)

Parameters

this_0 BarcodePolygonsView
_newValues IList

A(IFunction2, Object, Object)

[Register("a", "(Lkotlin/jvm/functions/Function2;Ljava/lang/Object;Ljava/lang/Object;)I", "")]
public static int A(IFunction2 _tmp0, Object p0, Object p1)

Parameters

_tmp0 IFunction2
p0 Object
p1 Object

Returns

int

OnAttachedToWindow()

[Register("onAttachedToWindow", "()V", "")]
public void OnAttachedToWindow()

OnDetachedFromWindow()

[Register("onDetachedFromWindow", "()V", "")]
public void OnDetachedFromWindow()

OnDraw(Canvas)

[Register("onDraw", "(Landroid/graphics/Canvas;)V", "")]
public void OnDraw(Canvas canvas)

Parameters

canvas Canvas

OnSizeChanged(int, int, int, int)

[Register("onSizeChanged", "(IIII)V", "")]
public void OnSizeChanged(int w, int h, int oldw, int oldh)

Parameters

w int
h int
oldw int
oldh int

Events

PolygonValueClick

public event EventHandler<BarcodePolygonsView.PolygonValueClickEventArgs> PolygonValueClick

Event Type

EventHandler<BarcodePolygonsView.PolygonValueClickEventArgs>