# Interface Reader

interface Reader {
contInterval?: number;
enable: boolean;
init?: boolean;
lastProcessing?: boolean;
name: string;
processing?: boolean;
zdestroy(): void;
zenable(wgt, enable?): void;
zexecute(wgt): void;
zinit?(wgt, video, canvas, target): void;
zsetType?(wgt, reader): void;
}

#####
Index

### Properties

contInterval?
enable
init?
lastProcessing?
name
processing?

### Methods

zdestroy
zenable
zexecute
zinit?
zsetType?

## Properties

### `Optional` contInterval

contInterval?: number

### enable

enable: boolean

### `Optional` init

init?: boolean

### `Optional` lastProcessing

lastProcessing?: boolean

### name

name: string

### `Optional` processing

processing?: boolean

## Methods

### zdestroy

- zdestroy(): void

- #### Returns void

### zenable

- zenable(wgt, enable?): void

- #### Parameters

  - ##### wgt: Barcodescanner

  - ##### `Optional` enable: boolean

  #### Returns void

### zexecute

- zexecute(wgt): void

- #### Parameters

  - ##### wgt: Barcodescanner

  #### Returns void

### `Optional` zinit

- zinit(wgt, video, canvas, target): void

- #### Parameters

  - ##### wgt: Barcodescanner

  - ##### video: HTMLVideoElement

  - ##### canvas: HTMLCanvasElement

  - ##### target: HTMLElement

  #### Returns void

### `Optional` zsetType

- zsetType(wgt, reader): void

- Defaults to Detector.setType

  #### Parameters

  - ##### wgt: Barcodescanner

  - ##### reader: Reader

  #### Returns void