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

    Type Alias DetectionHandler

    DetectionHandler: (detections: CodeDetection[]) => DetectionHandlerResult

    Type for barcode detection handler.

    Type Declaration

    This handler is called synchronously when one or more barcodes are detected, so it should avoid performing any expensive operations. STRICH currently tries to detect a barcode as quickly as possible, it may occasionally return multiple detections simultaneously.