Class BarcodeScannerConfiguration

Hierarchy

  • ScannerConfiguration
    • BarcodeScannerConfiguration

Constructors

Properties

_onDetectionFailed?: ((e) => void)

Type declaration

    • (e): void
    • Parameters

      • e: ImageData

      Returns void

barcodeFormats?: BarcodeFormat[]
captureDelay?: number

Capture delay in milliseconds after detecting barcodes. Defaults to 1000

container?: HTMLElement

The container HTML element of Scanbot Web SDK camera. Required when 'containerId' property is left undefined when calling any ScanbotSDK createScanner function. If both are provided, 'container' property takes precedence.

containerId?: string

The container HTML element id of Scanbot Web SDK camera. Required when 'container' property is left undefined when calling any ScanbotSDK createScanner function If both are provided, 'container' property takes precedence.

engineMode?: EngineMode
mirrored?: boolean
onBarcodesDetected?: ((e) => void)

Type declaration

onError: ((e) => void)

Type declaration

    • (e): void
    • Error callback of the SDK.

      Parameters

      • e: any

      Returns void

preferredCamera?: string
returnBarcodeImage?: boolean

Special property to enable barcode count mode. This is a type of a ready-to-use user interface scanning and counting found barcodes. It can be configured via its 'style' (BarcodeCountStyleConfiguration) property. It returns results normally via 'onBarcodesDetected' callback. Please note that results are returned for each consecutive scan, not only after the last scan

showFinder?: boolean
videoConstraints?: any

ScanbotCameraView video constraints

zoom?: number

Digital zoom level of the video stream. Defaults to 1.0. Please note that this is not the same as the optical zoom of the camera.

DEFAULT_ACCEPTED_ANGLE_SCORE: number
DEFAULT_ACCEPTED_SIZE_SCORE: number
DEFAULT_VIDEO_RESOLUTION_4K: {
    height: number;
    width: number;
}

Type declaration

  • height: number
  • width: number
DEFAULT_VIDEO_RESOLUTION_HD: {
    height: number;
    width: number;
}

Type declaration

  • height: number
  • width: number

Methods

  • Parameters

    • source: any
    • destination: {
          [key: string]: any;
      }
      • [key: string]: any
    • Optional ignore: string[]

    Returns void

  • Parameters

    • source: any
    • destination: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns void

Generated using TypeDoc