STRICH Barcode Scanning SDK API Reference
    Preparing search index...

    Interface EngineConfiguration

    Engine configuration

    interface EngineConfiguration {
        duplicateInterval?: number;
        hysteresisInterval?: number;
        hysteresisMinCount?: number;
        invertedCodes?: boolean;
        minScanlinesNeeded?: number;
        symbologies?: (SymbologyName | SymbologySpec)[];
    }
    Index

    Properties

    duplicateInterval?: number

    Time interval in milliseconds during which multiple detections of the same code are not repeated.

    It is recommended to set a duplicateInterval as scans are metered except in Enterprise subscriptions.

    750
    
    hysteresisInterval?: number

    Set the duration of the hysteresis window in milliseconds.

    350
    
    hysteresisMinCount?: number

    Set the minimum occurrence count for 1D barcodes with weak checksums in a given time window for it be accepted.

    Setting this parameter to 0 disables hysteresis (default behavior for versions up to 1.1.0)

    2
    
    invertedCodes?: boolean

    Toggle recognition of inverted barcodes (light print on dark background).

    This should only be enabled if you need to detect these barcodes, as additional processing will take place.

    false
    
    minScanlinesNeeded?: number

    The number of scanlines that need to decoded successfully for a valid decode.

    Increasing this parameter reduces the possibility of a misread, but makes it more likely for degraded codes to not be read at all.

    The default value is two scanlines and usually should not be changed.

    2
    
    symbologies?: (SymbologyName | SymbologySpec)[]

    The enabled barcode symbologies.

    See https://docs.strich.io/supported-symbologies.html for an exhaustive list of supported symbologies.

    It is highly recommended to configure only the symbologies required by your application. An empty array or undefined is interpreted as 'all symbologies enabled'.

    ['qr', 'code128']
    

    undefined (all symbologies enabled - NOT RECOMMENDED)