public static class BarcodeAutoSnappingController.Companion
@JvmStatic @NotNull public BarcodeAutoSnappingController attach(@NotNull io.scanbot.sdk.ui.camera.IScanbotCameraView cameraView, @NotNull ScanbotBarcodeDetector barcodeDetector)
Same as BarcodeAutoSnappingController.attach, but creates
new class BarcodeDetectorFrameHandler which will be attached to camera.
Use this method if you don't need to control barcodes detection routine. However, be careful
to not accidentally attach several class BarcodeDetectorFrameHandler to camera therefore
causing contour detection to be executed more than once.
@JvmStatic @NotNull public BarcodeAutoSnappingController attach(@NotNull io.scanbot.sdk.ui.camera.IScanbotCameraView cameraView, @NotNull BarcodeDetectorFrameHandler barcodeDetectorFrameHandler)
Convenience method for attaching class BarcodeAutoSnappingController to camera view and
class BarcodeDetectorFrameHandler.
Auto-snapping is enabled by default as soon as you create new instance of
class BarcodeAutoSnappingController. You can manually enable or disable auto-snapping by calling BarcodeAutoSnappingController.isEnabled.
cameraView - camera view which is used for snappingbarcodeDetectorFrameHandler - class BarcodeDetectorFrameHandler which will be attachedto camera.class BarcodeAutoSnappingControllerclass BarcodeAutoSnappingController,
class BarcodeDetectorFrameHandler,
class BarcodeAutoSnappingController,
BarcodeAutoSnappingController.isEnabled