Table of Contents

Class FinderOverlayView

Namespace
IO.Scanbot.Sdk.UI.Camera
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/camera/FinderOverlayView", DoNotGenerateAcw = true)]
public class FinderOverlayView : FrameLayout, Drawable.ICallback, IAccessibilityEventSource, KeyEvent.ICallback, IViewManager, IViewParent, IFinderView, IAutoSnappingController.IAutoSnappingStateListener, IJavaObject, IJavaPeerable, IDisposable
Inheritance
FinderOverlayView
Implements
Derived
Inherited Members

Constructors

FinderOverlayView(Context, IAttributeSet)

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

Parameters

context Context
attr IAttributeSet

FinderOverlayView(nint, JniHandleOwnership)

protected FinderOverlayView(nint javaReference, JniHandleOwnership transfer)

Parameters

javaReference nint
transfer JniHandleOwnership

Fields

G

[Register("G")]
public const float G = 1000

Field Value

float

H

[Register("H")]
public const int H = 900

Field Value

int

I

[Register("I")]
public const int I = 1000

Field Value

int

J

[Register("J")]
public const long J = 3000

Field Value

long

Properties

AutoSnapProgressEnabled

public bool AutoSnapProgressEnabled { get; set; }

Property Value

bool

BottomPlaceholderView

public View BottomPlaceholderView { get; set; }

Property Value

View

FinderInsets

public Insets FinderInsets { get; set; }

Property Value

Insets

FinderMaxSize

public virtual int FinderMaxSize { get; set; }

Property Value

int

FinderPlaceholderView

public View FinderPlaceholderView { get; set; }

Property Value

View

FixedFinderHeightInPx

public int FixedFinderHeightInPx { get; set; }

Property Value

int

FixedFinderWidthInPx

public int FixedFinderWidthInPx { get; set; }

Property Value

int

InitialPreviewHeight

public int InitialPreviewHeight { get; set; }

Property Value

int

InitialPreviewMode

public CameraPreviewMode InitialPreviewMode { get; set; }

Property Value

CameraPreviewMode

InitialPreviewWidth

public int InitialPreviewWidth { get; set; }

Property Value

int

K

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

Property Value

int

L

[Register("l")]
public Paint L { get; set; }

Property Value

Paint

M

[Register("m")]
public CornerPathEffect M { get; set; }

Property Value

CornerPathEffect

N

[Register("n")]
public int N { get; set; }

Property Value

int

O

[Register("o")]
public bool O { get; set; }

Property Value

bool

OverlayBottomPadding

public int OverlayBottomPadding { get; set; }

Property Value

int

OverlayLeftPadding

public int OverlayLeftPadding { get; set; }

Property Value

int

OverlayRightPadding

public int OverlayRightPadding { get; set; }

Property Value

int

OverlayTopPadding

public int OverlayTopPadding { get; set; }

Property Value

int

P

[Register("p")]
public ValueAnimator P { get; set; }

Property Value

ValueAnimator

Q

[Register("q")]
public ValueAnimator Q { get; set; }

Property Value

ValueAnimator

R

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

Property Value

int

RequiredAspectRatios

public IList<AspectRatio> RequiredAspectRatios { get; set; }

Property Value

IList<AspectRatio>

RequiredAspectRatiosInternal

public IList<AspectRatio> RequiredAspectRatiosInternal { get; set; }

Property Value

IList<AspectRatio>

S

[Register("s")]
public float S { get; set; }

Property Value

float

SafeAreaInsets

public Insets SafeAreaInsets { get; set; }

Property Value

Insets

StrokeWidth

public float StrokeWidth { get; set; }

Property Value

float

SumInsets

public Insets SumInsets { get; }

Property Value

Insets

T

[Register("t")]
public Insets T { get; set; }

Property Value

Insets

TopPlaceholderView

public View TopPlaceholderView { get; set; }

Property Value

View

U

[Register("u")]
public Insets U { get; set; }

Property Value

Insets

V

[Register("v")]
public int V { get; set; }

Property Value

int

W

[Register("w")]
public int W { get; set; }

Property Value

int

X

[Register("x")]
public CameraPreviewMode X { get; set; }

Property Value

CameraPreviewMode

Y

[Register("y")]
public IList Y { get; set; }

Property Value

IList

Z

[Register("z")]
public View Z { get; set; }

Property Value

View

Methods

A(FinderOverlayView)

[Register("a", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void A(FinderOverlayView this_0)

Parameters

this_0 FinderOverlayView

A(FinderOverlayView, ValueAnimator)

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

Parameters

this_0 FinderOverlayView
it ValueAnimator

A(FinderOverlayView, long)

[Register("a", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;J)V", "")]
public static void A(FinderOverlayView this_0, long _ms)

Parameters

this_0 FinderOverlayView
_ms long

B(FinderOverlayView)

[Register("b", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void B(FinderOverlayView this_0)

Parameters

this_0 FinderOverlayView

B(FinderOverlayView, ValueAnimator)

[Register("b", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;Landroid/animation/ValueAnimator;)V", "")]
public static void B(FinderOverlayView this_0, ValueAnimator it)

Parameters

this_0 FinderOverlayView
it ValueAnimator

C(FinderOverlayView)

[Register("c", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void C(FinderOverlayView this_0)

Parameters

this_0 FinderOverlayView

CalculateFinderViewSize()

[Register("calculateFinderViewSize", "()V", "GetCalculateFinderViewSizeHandler")]
public virtual void CalculateFinderViewSize()

CalculateInsets()

[Register("calculateInsets", "()Landroidx/core/graphics/Insets;", "GetCalculateInsetsHandler")]
public virtual Insets CalculateInsets()

Returns

Insets

CalculatePreviewFrameSize()

[Register("calculatePreviewFrameSize", "()Lkotlin/Pair;", "")]
public Pair CalculatePreviewFrameSize()

Returns

Pair

CalculateTargetSize(double, int, int)

[Register("calculateTargetSize", "(DII)Lkotlin/Pair;", "")]
public Pair CalculateTargetSize(double targetAspectRatio, int finderHeight, int finderWidth)

Parameters

targetAspectRatio double
finderHeight int
finderWidth int

Returns

Pair

CalculateTotalPaddings(int, int)

[Register("calculateTotalPaddings", "(II)Lkotlin/Pair;", "")]
public Pair CalculateTotalPaddings(int previewWidthOffset, int previewHeightOffset)

Parameters

previewWidthOffset int
previewHeightOffset int

Returns

Pair

D(FinderOverlayView)

[Register("d", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void D(FinderOverlayView this_0)

Parameters

this_0 FinderOverlayView

DispatchDraw(Canvas)

[Register("dispatchDraw", "(Landroid/graphics/Canvas;)V", "GetDispatchDraw_Landroid_graphics_Canvas_Handler")]
public virtual void DispatchDraw(Canvas canvas)

Parameters

canvas Canvas

E(FinderOverlayView)

[Register("e", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void E(FinderOverlayView this_0)

Parameters

this_0 FinderOverlayView

F(FinderOverlayView)

[Register("f", "(Lio/scanbot/sdk/ui/camera/FinderOverlayView;)V", "")]
public static void F(FinderOverlayView this_0)

Parameters

this_0 FinderOverlayView

InitPaintAndRect()

[Register("initPaintAndRect", "()V", "")]
public void InitPaintAndRect()

OnAttachedToWindow()

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

OnAutoSnappingCanceled()

[Register("onAutoSnappingCanceled", "()V", "GetOnAutoSnappingCanceledHandler")]
public virtual void OnAutoSnappingCanceled()

OnAutoSnappingFinished()

[Register("onAutoSnappingFinished", "()V", "GetOnAutoSnappingFinishedHandler")]
public virtual void OnAutoSnappingFinished()

OnAutoSnappingIn(long)

[Register("onAutoSnappingIn", "(J)V", "GetOnAutoSnappingIn_JHandler")]
public virtual void OnAutoSnappingIn(long ms)

Parameters

ms long

OnMeasure(int, int)

[Register("onMeasure", "(II)V", "GetOnMeasure_IIHandler")]
public virtual void OnMeasure(int widthMeasureSpec, int heightMeasureSpec)

Parameters

widthMeasureSpec int
heightMeasureSpec int

OnSizeChanged(int, int, int, int)

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

Parameters

w int
h int
oldw int
oldh int

Recalculate()

[Register("recalculate", "()V", "")]
public void Recalculate()

ResizeContentViews()

[Register("resizeContentViews", "()V", "GetResizeContentViewsHandler")]
public virtual void ResizeContentViews()

SetAutoSnappingProgressStrokeColor(int)

[Register("setAutoSnappingProgressStrokeColor", "(I)V", "")]
public void SetAutoSnappingProgressStrokeColor(int strokeColor)

Parameters

strokeColor int

SetAutoSnappingProgressStrokeWidth(int)

[Register("setAutoSnappingProgressStrokeWidth", "(I)V", "")]
public void SetAutoSnappingProgressStrokeWidth(int strokeWidth)

Parameters

strokeWidth int

SetBottomPlaceholder(View)

[Register("setBottomPlaceholder", "(Landroid/view/View;)V", "")]
public void SetBottomPlaceholder(View view)

Parameters

view View

SetCameraParameters(int, int, CameraPreviewMode)

[Register("setCameraParameters", "(IILio/scanbot/sdk/camera/CameraPreviewMode;)V", "GetSetCameraParameters_IILio_scanbot_sdk_camera_CameraPreviewMode_Handler")]
public virtual void SetCameraParameters(int previewWidth, int previewHeight, CameraPreviewMode cameraPreviewMode)

Parameters

previewWidth int
previewHeight int
cameraPreviewMode CameraPreviewMode

SetCornerRadius(int)

[Register("setCornerRadius", "(I)V", "")]
public void SetCornerRadius(int radius)

Parameters

radius int

SetFinderInset(Integer, Integer, Integer, Integer)

[Register("setFinderInset", "(Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V", "")]
public void SetFinderInset(Integer left, Integer top, Integer right, Integer bottom)

Parameters

left Integer
top Integer
right Integer
bottom Integer

SetFinderMinPadding(int)

[Register("setFinderMinPadding", "(I)V", "")]
public void SetFinderMinPadding(int padding)

Parameters

padding int

SetFinderPlaceholder(View)

[Register("setFinderPlaceholder", "(Landroid/view/View;)V", "")]
public void SetFinderPlaceholder(View view)

Parameters

view View

SetFixedFinderHeight(int)

[Register("setFixedFinderHeight", "(I)V", "")]
public void SetFixedFinderHeight(int fixedFinderHeight)

Parameters

fixedFinderHeight int

SetFixedFinderWidth(int)

[Register("setFixedFinderWidth", "(I)V", "")]
public void SetFixedFinderWidth(int fixedFinderWidth)

Parameters

fixedFinderWidth int

SetSafeAreaInset(Integer, Integer, Integer, Integer)

[Register("setSafeAreaInset", "(Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;Ljava/lang/Integer;)V", "")]
public void SetSafeAreaInset(Integer left, Integer top, Integer right, Integer bottom)

Parameters

left Integer
top Integer
right Integer
bottom Integer

SetStrokeWidth(int)

[Register("setStrokeWidth", "(I)V", "")]
public void SetStrokeWidth(int strokeWidth)

Parameters

strokeWidth int

SetTopPlaceholder(View)

[Register("setTopPlaceholder", "(Landroid/view/View;)V", "")]
public void SetTopPlaceholder(View view)

Parameters

view View