Table of Contents

Interface IScanbotCameraView

Namespace
IO.Scanbot.Sdk.UI.Camera
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/ui/camera/IScanbotCameraView", "", "IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker")]
public interface IScanbotCameraView : IJavaObject, IJavaPeerable, IDisposable
Inherited Members

Properties

DelayAfterFocusCompleteMs

long DelayAfterFocusCompleteMs { get; set; }

Property Value

long

IsFlashEnabled

bool IsFlashEnabled { get; }

Property Value

bool

Methods

AddCameraStateCallback(ICameraStateCallback)

[Register("addCameraStateCallback", "(Lio/scanbot/sdk/camera/CameraStateCallback;)V", "GetAddCameraStateCallback_Lio_scanbot_sdk_camera_CameraStateCallback_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void AddCameraStateCallback(ICameraStateCallback cameraStateCallback)

Parameters

cameraStateCallback ICameraStateCallback

AddFrameHandler(FrameHandler)

[Register("addFrameHandler", "(Lio/scanbot/sdk/camera/FrameHandler;)V", "GetAddFrameHandler_Lio_scanbot_sdk_camera_FrameHandler_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void AddFrameHandler(FrameHandler frameHandler)

Parameters

frameHandler FrameHandler

AddPictureCallback(IBasePictureCallback)

[Register("addPictureCallback", "(Lio/scanbot/sdk/camera/BasePictureCallback;)V", "GetAddPictureCallback_Lio_scanbot_sdk_camera_BasePictureCallback_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void AddPictureCallback(IBasePictureCallback pictureCallback)

Parameters

pictureCallback IBasePictureCallback

AddTakePictureCallback(ICameraTakePictureCallback)

[Register("addTakePictureCallback", "(Lio/scanbot/sdk/camera/CameraTakePictureCallback;)V", "GetAddTakePictureCallback_Lio_scanbot_sdk_camera_CameraTakePictureCallback_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void AddTakePictureCallback(ICameraTakePictureCallback cameraTakePictureCallback)

Parameters

cameraTakePictureCallback ICameraTakePictureCallback

AutoFocus()

[Register("autoFocus", "()V", "GetAutoFocusHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void AutoFocus()

ContinuousFocus()

[Register("continuousFocus", "()V", "GetContinuousFocusHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void ContinuousFocus()

GetAttachedFrameHandler(Class)

[Register("getAttachedFrameHandler", "(Ljava/lang/Class;)Lio/scanbot/sdk/camera/FrameHandler;", "GetGetAttachedFrameHandler_Ljava_lang_Class_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
[JavaTypeParameters(new string[] { "T extends io.scanbot.sdk.camera.FrameHandler" })]
Object GetAttachedFrameHandler(Class clazz)

Parameters

clazz Class

Returns

Object

LockMinFocusDistance(bool)

[Register("lockMinFocusDistance", "(Z)V", "GetLockMinFocusDistance_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void LockMinFocusDistance(bool @lock)

Parameters

lock bool

LockToLandscape(bool)

[Register("lockToLandscape", "(Z)V", "GetLockToLandscape_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void LockToLandscape(bool lockPicture)

Parameters

lockPicture bool

LockToPortrait(bool)

[Register("lockToPortrait", "(Z)V", "GetLockToPortrait_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void LockToPortrait(bool lockPicture)

Parameters

lockPicture bool

RemoveCameraStateCallback(ICameraStateCallback)

[Register("removeCameraStateCallback", "(Lio/scanbot/sdk/camera/CameraStateCallback;)V", "GetRemoveCameraStateCallback_Lio_scanbot_sdk_camera_CameraStateCallback_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void RemoveCameraStateCallback(ICameraStateCallback cameraStateCallback)

Parameters

cameraStateCallback ICameraStateCallback

RemoveFrameHandler(FrameHandler)

[Register("removeFrameHandler", "(Lio/scanbot/sdk/camera/FrameHandler;)V", "GetRemoveFrameHandler_Lio_scanbot_sdk_camera_FrameHandler_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void RemoveFrameHandler(FrameHandler frameHandler)

Parameters

frameHandler FrameHandler

RemovePictureCallback(IBasePictureCallback)

[Register("removePictureCallback", "(Lio/scanbot/sdk/camera/BasePictureCallback;)V", "GetRemovePictureCallback_Lio_scanbot_sdk_camera_BasePictureCallback_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void RemovePictureCallback(IBasePictureCallback pictureCallback)

Parameters

pictureCallback IBasePictureCallback

RemoveTakePictureCallback(ICameraTakePictureCallback)

[Register("removeTakePictureCallback", "(Lio/scanbot/sdk/camera/CameraTakePictureCallback;)V", "GetRemoveTakePictureCallback_Lio_scanbot_sdk_camera_CameraTakePictureCallback_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void RemoveTakePictureCallback(ICameraTakePictureCallback cameraTakePictureCallback)

Parameters

cameraTakePictureCallback ICameraTakePictureCallback

RestartPreview()

[Register("restartPreview", "()V", "GetRestartPreviewHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void RestartPreview()

SetAutoFocusOnTouch(bool)

[Register("setAutoFocusOnTouch", "(Z)V", "GetSetAutoFocusOnTouch_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetAutoFocusOnTouch(bool autoFocusOnTouch)

Parameters

autoFocusOnTouch bool

SetCameraModule(CameraModule)

[Register("setCameraModule", "(Lio/scanbot/sdk/camera/CameraModule;)V", "GetSetCameraModule_Lio_scanbot_sdk_camera_CameraModule_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetCameraModule(CameraModule cameraModule)

Parameters

cameraModule CameraModule

SetCameraOpenCallback(ICameraOpenCallback)

[Register("setCameraOpenCallback", "(Lio/scanbot/sdk/camera/CameraOpenCallback;)V", "GetSetCameraOpenCallback_Lio_scanbot_sdk_camera_CameraOpenCallback_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetCameraOpenCallback(ICameraOpenCallback cameraOpenCallback)

Parameters

cameraOpenCallback ICameraOpenCallback

SetCaptureCallback(ICaptureCallback)

[Register("setCaptureCallback", "(Lio/scanbot/sdk/camera/CaptureCallback;)V", "GetSetCaptureCallback_Lio_scanbot_sdk_camera_CaptureCallback_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetCaptureCallback(ICaptureCallback captureCallback)

Parameters

captureCallback ICaptureCallback

SetForceMaxSnappingQuality(bool)

[Register("setForceMaxSnappingQuality", "(Z)V", "GetSetForceMaxSnappingQuality_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetForceMaxSnappingQuality(bool enabled)

Parameters

enabled bool

SetForceMaxSnappingSize(bool)

[Register("setForceMaxSnappingSize", "(Z)V", "GetSetForceMaxSnappingSize_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetForceMaxSnappingSize(bool enabled)

Parameters

enabled bool

SetPhysicalZoom(float)

[Register("setPhysicalZoom", "(F)V", "GetSetPhysicalZoom_FHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetPhysicalZoom(float zoomLevel)

Parameters

zoomLevel float

SetPhysicalZoomRange(ZoomRange)

[Register("setPhysicalZoomRange", "(Lio/scanbot/sdk/camera/ZoomRange;)V", "GetSetPhysicalZoomRange_Lio_scanbot_sdk_camera_ZoomRange_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetPhysicalZoomRange(ZoomRange zoomRange)

Parameters

zoomRange ZoomRange

SetPreviewMode(CameraPreviewMode)

[Register("setPreviewMode", "(Lio/scanbot/sdk/camera/CameraPreviewMode;)V", "GetSetPreviewMode_Lio_scanbot_sdk_camera_CameraPreviewMode_Handler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetPreviewMode(CameraPreviewMode mode)

Parameters

mode CameraPreviewMode

SetShutterSound(bool)

[Register("setShutterSound", "(Z)V", "GetSetShutterSound_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetShutterSound(bool value)

Parameters

value bool

SetSnappingAutoAdjustment(bool)

[Register("setSnappingAutoAdjustment", "(Z)V", "GetSetSnappingAutoAdjustment_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void SetSnappingAutoAdjustment(bool enabled)

Parameters

enabled bool

StartPreview()

[Register("startPreview", "()V", "GetStartPreviewHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void StartPreview()

StopPreview()

[Register("stopPreview", "()V", "GetStopPreviewHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void StopPreview()

TakePicture(bool)

[Register("takePicture", "(Z)V", "GetTakePicture_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void TakePicture(bool acquireFocus)

Parameters

acquireFocus bool

TakePicture(bool, bool)

[Register("takePicture", "(ZZ)V", "GetTakePicture_ZZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void TakePicture(bool acquireFocus, bool isCapturedAutomatically)

Parameters

acquireFocus bool
isCapturedAutomatically bool

UnlockOrientation()

[Register("unlockOrientation", "()V", "GetUnlockOrientationHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void UnlockOrientation()

UseFlash(bool)

[Register("useFlash", "(Z)V", "GetUseFlash_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void UseFlash(bool useFlash)

Parameters

useFlash bool

UsePinchToZoom(bool)

[Register("usePinchToZoom", "(Z)V", "GetUsePinchToZoom_ZHandler:IO.Scanbot.Sdk.UI.Camera.IScanbotCameraViewInvoker, BarcodeSDK.NET.Droid")]
void UsePinchToZoom(bool usePinchToZoom)

Parameters

usePinchToZoom bool