BarcodeAutoSnappingController

class BarcodeAutoSnappingController(val cameraView: IScanbotCameraView, frameHandler: FrameHandler)

Controls auto-snapping process by observing document scanning results from BarcodeScannerFrameHandler.

Constructors

Link copied to clipboard
constructor(cameraView: IScanbotCameraView, frameHandler: BarcodeScannerFrameHandler)
constructor(cameraView: IScanbotCameraView, frameHandler: FrameHandler)

Types

Link copied to clipboard

Called right before auto-snapping routine takes picture. Might intercept and cancel the shooting.

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

true if auto-snapping is enabled. false if auto-snapping is disabled.

Functions

Link copied to clipboard
fun setSensitivity(sensitivity: Float)

Changes sensitivity of auto-snapping. That is: the more sensitive it is the faster it shoots.