BrowserMultiFormatReader.d.ts 667 B

123456789101112131415
  1. import { BrowserCodeReader } from './BrowserCodeReader';
  2. import MultiFormatReader from '../core/MultiFormatReader';
  3. import BinaryBitmap from '../core/BinaryBitmap';
  4. import Result from '../core/Result';
  5. import DecodeHintType from '../core/DecodeHintType';
  6. export declare class BrowserMultiFormatReader extends BrowserCodeReader {
  7. protected readonly reader: MultiFormatReader;
  8. constructor(hints?: Map<DecodeHintType, any>, timeBetweenScansMillis?: number);
  9. /**
  10. * Overwrite decodeBitmap to call decodeWithState, which will pay
  11. * attention to the hints set in the constructor function
  12. */
  13. decodeBitmap(binaryBitmap: BinaryBitmap): Result;
  14. }