interface Detector {
    execute?: CallableFunction;
    name: string;
    other?: unknown;
    create(): Reader;
    decode(wgt, reader): void;
    destroy(): void;
    disable(wgt, reader): void;
    enable(wgt, reader): void;
    init(wgt, video, canvas, n): void;
    setType?(wgt): void;
}

Properties

execute?: CallableFunction
name: string
other?: unknown

Methods

  • Returns void

  • Parameters

    • wgt: Barcodescanner
    • video: HTMLElement
    • canvas: HTMLCanvasElement
    • n: HTMLElement

    Returns void