Class ScanbotCameraXView
- Namespace
- IO.Scanbot.Sdk.UI.Camera
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class ScanbotCameraXView : FrameLayout, IScanbotCameraView, IUiZoomDelegate, IFinderViewAttributeHandler, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
ScanbotCameraXView
- Implements
-
- Extension Methods
-
Constructors
ScanbotCameraXView(Context)
public ScanbotCameraXView(Context context)
Parameters
context
Context
ScanbotCameraXView(Context, IAttributeSet)
public ScanbotCameraXView(Context context, IAttributeSet attrs)
Parameters
context
Context
attrs
IAttributeSet
Fields
A0
public const double A0 = 1.6666666666666667
Field Value
- double
B0
public const double B0 = 0.05
Field Value
- double
C0
public const double C0 = 1.7777777777777777
Field Value
- double
D0
public const double D0 = 1.3333333333333333
Field Value
- double
E0
public const double E0 = 1
Field Value
- double
F0
public const string F0 = "Xiaomi"
Field Value
- string
S0
public const string S0 = "ScanbotCameraXView"
Field Value
- string
T0
Field Value
- int
U0
public const int U0 = 100
Field Value
- int
V0
public const int V0 = 1000
Field Value
- int
W0
Field Value
- int
X0
Field Value
- long
Y0
public const long Y0 = 250
Field Value
- long
Z0
public const int Z0 = 6481
Field Value
- int
Properties
CameraSensorOrientation
public Integer CameraSensorOrientation { get; set; }
Property Value
- Integer
DelayAfterFocusCompleteMs
public long DelayAfterFocusCompleteMs { get; set; }
Property Value
- long
FinderViewId
public int FinderViewId { get; }
Property Value
- int
G
public IList<Size> G { get; set; }
Property Value
- IList<Size>
G0
public static IList<int> G0 { get; }
Property Value
- IList<int>
H
public ZoomRange H { get; set; }
Property Value
- ZoomRange
H0
public long H0 { get; set; }
Property Value
- long
I
public Integer I { get; set; }
Property Value
- Integer
I0
public ILazy I0 { get; set; }
Property Value
- ILazy
IsFlashEnabled
public bool IsFlashEnabled { get; }
Property Value
- bool
J
public ScanbotCameraXView.IPinchToZoomCallback J { get; set; }
Property Value
- ScanbotCameraXView.IPinchToZoomCallback
J0
public SnapFlashView J0 { get; set; }
Property Value
- SnapFlashView
K
public ICaptureCallback K { get; set; }
Property Value
- ICaptureCallback
K0
public bool K0 { get; set; }
Property Value
- bool
L
public ILifecycleOwner L { get; set; }
Property Value
- ILifecycleOwner
L0
public bool L0 { get; set; }
Property Value
- bool
LifecycleOwner
public ILifecycleOwner LifecycleOwner { get; set; }
Property Value
- ILifecycleOwner
M
public Size M { get; set; }
Property Value
- Size
M0
public ThreadPoolExecutor M0 { get; set; }
Property Value
- ThreadPoolExecutor
MirrorAnalyzerFrame
public bool MirrorAnalyzerFrame { get; set; }
Property Value
- bool
N
public ScanbotCameraXView.UseCaseResolutionSize N { get; set; }
Property Value
- ScanbotCameraXView.UseCaseResolutionSize
N0
public ThreadPoolExecutor N0 { get; set; }
Property Value
- ThreadPoolExecutor
O
public Size O { get; set; }
Property Value
- Size
O0
public ThreadPoolExecutor O0 { get; set; }
Property Value
- ThreadPoolExecutor
P
public ScanbotCameraXView.UseCaseResolutionSize P { get; set; }
Property Value
- ScanbotCameraXView.UseCaseResolutionSize
PinchToZoomListener
public ScanbotCameraXView.IPinchToZoomCallback PinchToZoomListener { get; set; }
Property Value
- ScanbotCameraXView.IPinchToZoomCallback
Q
public Float Q { get; set; }
Property Value
- Float
R
public Integer R { get; set; }
Property Value
- Integer
R0
public bool R0 { get; set; }
Property Value
- bool
S
public Size S { get; set; }
Property Value
- Size
SupportedZoomRange
public ZoomRange SupportedZoomRange { get; set; }
Property Value
- ZoomRange
T
public bool T { get; set; }
Property Value
- bool
U
public ILogger U { get; set; }
Property Value
- ILogger
V
public ImageView V { get; set; }
Property Value
- ImageView
W
public PreviewView W { get; set; }
Property Value
- PreviewView
X
public ProcessCameraProvider X { get; set; }
Property Value
- ProcessCameraProvider
Y
public CameraManager Y { get; set; }
Property Value
- CameraManager
Z
public bool Z { get; set; }
Property Value
- bool
Methods
A(IListenableFuture, ScanbotCameraXView)
public static void A(IListenableFuture _future, ScanbotCameraXView this_0)
Parameters
_future
IListenableFuture
this_0
ScanbotCameraXView
A(IListenableFuture, ObjectRef, ScanbotCameraXView)
public static void A(IListenableFuture _extensionsManagerFuture, Ref.ObjectRef _cameraSelector, ScanbotCameraXView this_0)
Parameters
_extensionsManagerFuture
IListenableFuture
_cameraSelector
ObjectRef
this_0
ScanbotCameraXView
A(ScanbotCameraXView)
public static void A(ScanbotCameraXView this_0)
Parameters
this_0
ScanbotCameraXView
A(ScanbotCameraXView, View, MotionEvent)
public static bool A(ScanbotCameraXView this_0, View p1, MotionEvent e)
Parameters
this_0
ScanbotCameraXView
p1
View
e
MotionEvent
Returns
- bool
A(ScanbotCameraXView, IImageOutputConfigBuilder, UseCaseResolutionSize, IList, int)
public static IList A(ScanbotCameraXView this_0, IImageOutputConfigBuilder _builder, ScanbotCameraXView.UseCaseResolutionSize _resolutionLimit, IList sizes, int rotationDegrees)
Parameters
this_0
ScanbotCameraXView
_builder
IImageOutputConfigBuilder
_resolutionLimit
ScanbotCameraXView.UseCaseResolutionSize
sizes
IList
rotationDegrees
int
Returns
- IList
A(ScanbotCameraXView, IListenableFuture)
public static void A(ScanbotCameraXView this_0, IListenableFuture _cameraProviderFuture)
Parameters
this_0
ScanbotCameraXView
_cameraProviderFuture
IListenableFuture
AddCameraStateCallback(ICameraStateCallback)
public void AddCameraStateCallback(ICameraStateCallback cameraStateCallback)
Parameters
cameraStateCallback
ICameraStateCallback
AddFrameHandler(FrameHandler)
public void AddFrameHandler(FrameHandler frameHandler)
Parameters
frameHandler
FrameHandler
AddPictureCallback(IBasePictureCallback)
public void AddPictureCallback(IBasePictureCallback pictureCallback)
Parameters
pictureCallback
IBasePictureCallback
AddTakePictureCallback(ICameraTakePictureCallback)
public void AddTakePictureCallback(ICameraTakePictureCallback cameraTakePictureCallback)
Parameters
cameraTakePictureCallback
ICameraTakePictureCallback
AutoFocus()
B(ScanbotCameraXView)
public static void B(ScanbotCameraXView this_0)
Parameters
this_0
ScanbotCameraXView
B(ScanbotCameraXView, IImageOutputConfigBuilder, UseCaseResolutionSize, IList, int)
public static IList B(ScanbotCameraXView this_0, IImageOutputConfigBuilder _builder, ScanbotCameraXView.UseCaseResolutionSize _resolutionLimit, IList sizes, int rotationDegrees)
Parameters
this_0
ScanbotCameraXView
_builder
IImageOutputConfigBuilder
_resolutionLimit
ScanbotCameraXView.UseCaseResolutionSize
sizes
IList
rotationDegrees
int
Returns
- IList
B(ScanbotCameraXView, IListenableFuture)
public static void B(ScanbotCameraXView this_0, IListenableFuture _future)
Parameters
this_0
ScanbotCameraXView
_future
IListenableFuture
C(ScanbotCameraXView)
public static void C(ScanbotCameraXView this_0)
Parameters
this_0
ScanbotCameraXView
ContinuousFocus()
public void ContinuousFocus()
D(ScanbotCameraXView)
public static void D(ScanbotCameraXView this_0)
Parameters
this_0
ScanbotCameraXView
DispatchDraw(Canvas)
public void DispatchDraw(Canvas canvas)
Parameters
canvas
Canvas
E(ScanbotCameraXView)
public static void E(ScanbotCameraXView this_0)
Parameters
this_0
ScanbotCameraXView
F(ScanbotCameraXView)
public static void F(ScanbotCameraXView this_0)
Parameters
this_0
ScanbotCameraXView
FreezePreview()
public void FreezePreview()
GetAttachedFrameHandler(Class)
public Object GetAttachedFrameHandler(Class clazz)
Parameters
clazz
Class
Returns
- Object
GetSupportedPictureSizes()
public Size[] GetSupportedPictureSizes()
Returns
- Size[]
GetSupportedPreviewSizes()
public Size[] GetSupportedPreviewSizes()
Returns
- Size[]
IsSnapAnimationEnabled(bool)
public void IsSnapAnimationEnabled(bool enabled)
Parameters
enabled
bool
LockMinFocusDistance(bool)
public void LockMinFocusDistance(bool @lock)
Parameters
lock
bool
LockToLandscape(bool)
public void LockToLandscape(bool lockPicture)
Parameters
lockPicture
bool
LockToPortrait(bool)
public void LockToPortrait(bool lockPicture)
Parameters
lockPicture
bool
OnAttachedToWindow()
public void OnAttachedToWindow()
OnConfigurationChanged(Configuration)
public void OnConfigurationChanged(Configuration newConfig)
Parameters
newConfig
Configuration
OnDetachedFromWindow()
public void OnDetachedFromWindow()
OnSizeChanged(int, int, int, int)
public void OnSizeChanged(int w, int h, int oldw, int oldh)
Parameters
w
int
h
int
oldw
int
oldh
int
RemoveCameraStateCallback(ICameraStateCallback)
public void RemoveCameraStateCallback(ICameraStateCallback cameraStateCallback)
Parameters
cameraStateCallback
ICameraStateCallback
RemoveFrameHandler(FrameHandler)
public void RemoveFrameHandler(FrameHandler frameHandler)
Parameters
frameHandler
FrameHandler
RemovePictureCallback(IBasePictureCallback)
public void RemovePictureCallback(IBasePictureCallback pictureCallback)
Parameters
pictureCallback
IBasePictureCallback
RemoveTakePictureCallback(ICameraTakePictureCallback)
public void RemoveTakePictureCallback(ICameraTakePictureCallback cameraTakePictureCallback)
Parameters
cameraTakePictureCallback
ICameraTakePictureCallback
RestartPreview()
public void RestartPreview()
SetAnalyzerEnabled(bool)
public void SetAnalyzerEnabled(bool enabled)
Parameters
enabled
bool
SetAnalyzerFpsLimit(float)
public void SetAnalyzerFpsLimit(float fps)
Parameters
fps
float
SetAnalyzerFrameResolutionLimit(UseCaseResolutionSize)
public void SetAnalyzerFrameResolutionLimit(ScanbotCameraXView.UseCaseResolutionSize limit)
Parameters
limit
ScanbotCameraXView.UseCaseResolutionSize
SetAnalyzerFrameSize(Size)
public void SetAnalyzerFrameSize(Size frameSize)
Parameters
frameSize
Size
SetAutoFocusOnTouch(bool)
public void SetAutoFocusOnTouch(bool autoFocusOnTouch)
Parameters
autoFocusOnTouch
bool
SetCameraFrameSize(Size)
public void SetCameraFrameSize(Size frameSize)
Parameters
frameSize
Size
SetCameraModule(CameraModule)
public void SetCameraModule(CameraModule cameraModule)
Parameters
cameraModule
CameraModule
SetCameraOpenCallback(ICameraOpenCallback)
public void SetCameraOpenCallback(ICameraOpenCallback cameraOpenCallback)
Parameters
cameraOpenCallback
ICameraOpenCallback
SetCaptureCallback(ICaptureCallback)
public void SetCaptureCallback(ICaptureCallback captureCallback)
Parameters
captureCallback
ICaptureCallback
SetForceMaxSnappingQuality(bool)
public void SetForceMaxSnappingQuality(bool enabled)
Parameters
enabled
bool
SetForceMaxSnappingSize(bool)
public void SetForceMaxSnappingSize(bool enabled)
Parameters
enabled
bool
SetImageCaptureEnabled(bool)
public void SetImageCaptureEnabled(bool enabled)
Parameters
enabled
bool
SetPhysicalZoom(float)
public void SetPhysicalZoom(float zoom)
Parameters
zoom
float
SetPhysicalZoomRange(ZoomRange)
public void SetPhysicalZoomRange(ZoomRange zoomRange)
Parameters
zoomRange
ZoomRange
SetPictureSize(Size)
public void SetPictureSize(Size pictureSize)
Parameters
pictureSize
Size
SetPreviewFrameResolutionLimit(UseCaseResolutionSize)
public void SetPreviewFrameResolutionLimit(ScanbotCameraXView.UseCaseResolutionSize limit)
Parameters
limit
ScanbotCameraXView.UseCaseResolutionSize
SetPreviewFrameSize(Size)
public void SetPreviewFrameSize(Size frameSize)
Parameters
frameSize
Size
SetPreviewMode(CameraPreviewMode)
public void SetPreviewMode(CameraPreviewMode previewMode)
Parameters
previewMode
CameraPreviewMode
SetPreviewRotation(int)
public void SetPreviewRotation(int rotation)
Parameters
rotation
int
SetShutterSound(bool)
public void SetShutterSound(bool enabled)
Parameters
enabled
bool
SetSnappingAutoAdjustment(bool)
public void SetSnappingAutoAdjustment(bool enabled)
Parameters
enabled
bool
SetSquareFrameSizeEnabled(bool)
public void SetSquareFrameSizeEnabled(bool enabled)
Parameters
enabled
bool
SetSupportedPictureSizes(Size[])
public void SetSupportedPictureSizes(Size[] value)
Parameters
value
Size[]
SetSupportedPreviewSizes(Size[])
public void SetSupportedPreviewSizes(Size[] value)
Parameters
value
Size[]
SetUiZoomLevel(float)
public void SetUiZoomLevel(float zoomLevel)
Parameters
zoomLevel
float
StartPreview()
public void StartPreview()
StopPreview()
public void StopPreview()
TakePicture(bool)
public void TakePicture(bool acquireFocus)
Parameters
acquireFocus
bool
TakePicture(bool, bool)
public void TakePicture(bool acquireFocus, bool isCapturedAutomatically)
Parameters
acquireFocus
bool
isCapturedAutomatically
bool
UnfreezePreview()
public void UnfreezePreview()
UnlockOrientation()
public void UnlockOrientation()
UseFlash(bool)
public void UseFlash(bool useFlash)
Parameters
useFlash
bool
UsePinchToZoom(bool)
public void UsePinchToZoom(bool usePinchToZoom)
Parameters
usePinchToZoom
bool