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

Properties

AppearanceJob

public IJob AppearanceJob { get; set; }

Property Value

IJob

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 BarcodeScannerFrameHandler.IResultHandler BarcodesResultHandler { get; }

Property Value

BarcodeScannerFrameHandler.IResultHandler

CancelJob

public IJob CancelJob { get; set; }

Property Value

IJob

FrameHandler

public FrameHandler FrameHandler { get; }

Property Value

FrameHandler

PolygonValueClickListener

public BarcodePolygonsView.IPolygonValueClickListener PolygonValueClickListener { get; set; }

Property Value

BarcodePolygonsView.IPolygonValueClickListener

ProcessingEnabled

public bool ProcessingEnabled { get; set; }

Property Value

bool

StyleJob

public IJob StyleJob { get; set; }

Property Value

IJob

Methods

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

ResetPolygonState()

[Register("resetPolygonState", "()V", "")]
public void ResetPolygonState()

Events

PolygonValueClick

public event EventHandler<BarcodePolygonsView.PolygonValueClickEventArgs> PolygonValueClick

Event Type

EventHandler<BarcodePolygonsView.PolygonValueClickEventArgs>