to top
Datalogic APIs
public final enum

SnapOcrScanningPolicy

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.decode.configuration.SnapOcrScanningPolicy

Class Overview

The SnapOcrScanningPolicy is an enumeration defining the scanning policy used when the Snap OCR is enabled. The type is one of:

OCR_AND_BARCODE Scans both OCR and barcodes found in the frames.
OCR_ONLY Only scans for OCR.
OCR_TRIGGER Only scans for barcodes when using the BARCODE keycode. Only scans for OCR when using the OCR_DECODE keycode.

Summary

Enum Values
SnapOcrScanningPolicy  OCR_AND_BARCODE  Scans both OCR and barcodes found in the frames. 
SnapOcrScanningPolicy  OCR_ONLY  Only scans for OCR. 
SnapOcrScanningPolicy  OCR_TRIGGER  Only scans for barcodes when using the BARCODE keycode. 
Public Methods
static SnapOcrScanningPolicy valueOf(String name)
final static SnapOcrScanningPolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final SnapOcrScanningPolicy OCR_AND_BARCODE

Added in revision 41

Scans both OCR and barcodes found in the frames.

public static final SnapOcrScanningPolicy OCR_ONLY

Added in revision 41

Only scans for OCR.

public static final SnapOcrScanningPolicy OCR_TRIGGER

Added in revision 41

Only scans for barcodes when using the BARCODE keycode. Only scans for OCR when using the OCR_DECODE keycode.

Public Methods

public static SnapOcrScanningPolicy valueOf (String name)

Added in revision 41

public static final SnapOcrScanningPolicy[] values ()

Added in revision 41