public enum DatamatrixOpMode extends java.lang.Enum<DatamatrixOpMode>
DatamatrixOpMode is an enumeration defining the allowed operating mode for datamatrix barcodes.
The operating mode can provide an improvement of decoding performance, but the decoding robustness
can decrease with the performance improvement. Therefore FAST and VERY FAST mode should be set only
in case of barcode printed with good quality. ROBUST and VERY ROBUST are suggested for DPM applications.
The type is one of:
| VERY FAST | Best performance with lowest robustness. |
| FAST | Good performance. |
| ROBUST | Lower performance with good robustness. |
| VERY ROBUST | Worst performance with highest robustness. |
| Enum Constant and Description |
|---|
FAST
Fast decoding with good quality.
|
ROBUST
Robust decoding.
|
VERY_FAST
Very fast decoding with very good quality.
|
VERY_ROBUST
Very robust decoding with low performance.
|
| Modifier and Type | Method and Description |
|---|---|
static DatamatrixOpMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DatamatrixOpMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatamatrixOpMode VERY_FAST
public static final DatamatrixOpMode FAST
public static final DatamatrixOpMode ROBUST
public static final DatamatrixOpMode VERY_ROBUST
public static DatamatrixOpMode[] values()
for (DatamatrixOpMode c : DatamatrixOpMode.values()) System.out.println(c);
public static DatamatrixOpMode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null