public static class QrCode.VersionInfo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
int[] |
alignment |
int |
codewords |
java.util.Map<QrCode.ErrorLevel,QrCode.BlockInfo> |
levels |
| Constructor and Description |
|---|
VersionInfo(int codewords,
int[] alignment) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(QrCode.ErrorLevel level,
int codeWords,
int dataCodewords,
int eccBlocks) |
int |
totalDataBytes(QrCode.ErrorLevel error)
Returns the total number of bytes in the data area that can be stored in at this version and error
correction level.
|
public final int codewords
public final int[] alignment
public final java.util.Map<QrCode.ErrorLevel,QrCode.BlockInfo> levels
public void add(QrCode.ErrorLevel level, int codeWords, int dataCodewords, int eccBlocks)
public int totalDataBytes(QrCode.ErrorLevel error)
error - Error correction level