Class ScanbotCameraView
- Namespace
- IO.Scanbot.Sdk.Camera
- Assembly
- DocumentSDK.NET.Droid.dll
public sealed class ScanbotCameraView : FrameLayout, IScanbotCameraView, IUiZoomDelegate, IFinderViewAttributeHandler, IJavaObject, IDisposable, IJavaPeerable
- Inheritance
-
ScanbotCameraView
- Implements
-
Constructors
ScanbotCameraView(Context)
public ScanbotCameraView(Context context)
Parameters
context
Context
ScanbotCameraView(Context, IAttributeSet)
public ScanbotCameraView(Context context, IAttributeSet attrs)
Parameters
context
Context
attrs
IAttributeSet
Fields
O
public const string O = "ScanbotCameraView"
Field Value
- string
Properties
A
public FinderViewAttributeHandlerImpl A { get; set; }
Property Value
- FinderViewAttributeHandlerImpl
D
public SnapFlashView D { get; set; }
Property Value
- SnapFlashView
DelayAfterFocusCompleteMs
public long DelayAfterFocusCompleteMs { get; set; }
Property Value
- long
E
public bool E { get; set; }
Property Value
- bool
F
public ScanbotCameraView.State F { get; set; }
Property Value
- ScanbotCameraView.State
FinderViewId
public int FinderViewId { get; }
Property Value
- int
G
public ICollection G { get; set; }
Property Value
- ICollection
H
public ICollection H { get; set; }
Property Value
- ICollection
I
public ILogger I { get; set; }
Property Value
- ILogger
IsFlashEnabled
public bool IsFlashEnabled { get; }
Property Value
- bool
J
public long J { get; set; }
Property Value
- long
K
public ICaptureCallback K { get; set; }
Property Value
- ICaptureCallback
L
public ILifecycleOwner L { get; set; }
Property Value
- ILifecycleOwner
LifecycleOwner
public ILifecycleOwner LifecycleOwner { get; set; }
Property Value
- ILifecycleOwner
M
public ZoomRange M { get; set; }
Property Value
- ZoomRange
N
public ScanbotCameraXView.IPinchToZoomCallback N { get; set; }
Property Value
- ScanbotCameraXView.IPinchToZoomCallback
PinchToZoomListener
public ScanbotCameraXView.IPinchToZoomCallback PinchToZoomListener { get; set; }
Property Value
- ScanbotCameraXView.IPinchToZoomCallback
PreviewBuffer
public IPreviewBuffer PreviewBuffer { get; }
Property Value
- IPreviewBuffer
SupportedPictureSizes
public IList<Camera.Size> SupportedPictureSizes { get; }
Property Value
- IList<Camera.Size>
SupportedPreviewSizes
public IList<Camera.Size> SupportedPreviewSizes { get; }
Property Value
- IList<Camera.Size>
SupportedZoomRange
public ZoomRange SupportedZoomRange { get; set; }
Property Value
- ZoomRange
Methods
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()
ContinuousFocus()
public void ContinuousFocus()
GetAttachedFrameHandler(Class)
public Object GetAttachedFrameHandler(Class clazz)
Parameters
clazz
Class
Returns
- Object
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
OnDetachedFromWindow()
public void OnDetachedFromWindow()
OnLayout(bool, int, int, int, int)
protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
Parameters
changed
bool
left
int
top
int
right
int
bottom
int
OnPause()
OnResume()
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()
SetAnalyzerFpsLimit(float)
public void SetAnalyzerFpsLimit(float fps)
Parameters
fps
float
SetAutoFocusOnTouch(bool)
public void SetAutoFocusOnTouch(bool autoFocusOnTouch)
Parameters
autoFocusOnTouch
bool
SetAutoFocusSound(bool)
public void SetAutoFocusSound(bool enabled)
Parameters
enabled
bool
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
SetPhysicalZoom(float)
public void SetPhysicalZoom(float zoomLevel)
Parameters
zoomLevel
float
SetPhysicalZoomRange(ZoomRange)
public void SetPhysicalZoomRange(ZoomRange zoomRange)
Parameters
zoomRange
ZoomRange
SetPictureSize(Size)
public void SetPictureSize(Camera.Size pictureSize)
Parameters
pictureSize
Size
SetPreviewMode(CameraPreviewMode)
public void SetPreviewMode(CameraPreviewMode mode)
Parameters
mode
CameraPreviewMode
SetPreviewSize(Size)
public void SetPreviewSize(Camera.Size previewSize)
Parameters
previewSize
Size
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
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
UnlockOrientation()
public void UnlockOrientation()
UseFlash(bool)
public void UseFlash(bool useFlash)
Parameters
useFlash
bool
UsePinchToZoom(bool)
public void UsePinchToZoom(bool usePinchToZoom)
Parameters
usePinchToZoom
bool