| Package | Description |
|---|---|
| com.google.zxing.qrcode.decoder | QR code decoding implementation for ZXing. |
| com.google.zxing.qrcode.encoder | QR code encoding implementation for ZXing. |
| Modifier and Type | Method and Description |
|---|---|
static ErrorCorrectionLevel | ErrorCorrectionLevel.forBits(int bits)Get the ErrorCorrectionLevel for the given bits. |
(package private) ErrorCorrectionLevel | FormatInformation.getErrorCorrectionLevel()Error correction level decoded from format info bits. |
static ErrorCorrectionLevel | ErrorCorrectionLevel.valueOf(String name)Returns the enum constant of this type with the specified name. |
static ErrorCorrectionLevel[] | ErrorCorrectionLevel.values()Returns an array containing the constants of this enum type, in
the order they are declared. |
| Modifier and Type | Method and Description |
|---|---|
Version.ECBlocks | Version.getECBlocksForLevel(ErrorCorrectionLevel ecLevel) |
| Modifier and Type | Method and Description |
|---|---|
ErrorCorrectionLevel | QRCode.getECLevel() |
| Modifier and Type | Method and Description |
|---|---|
(package private) static void | MatrixUtil.buildMatrix(BitArray dataBits,
ErrorCorrectionLevel ecLevel,
Version version,
int maskPattern,
ByteMatrix matrix)Build the QR code matrix |
(package private) static void | MatrixUtil.embedTypeInfo(ErrorCorrectionLevel ecLevel,
int maskPattern,
ByteMatrix matrix)Embed type information |
static QRCode | Encoder.encode(String content,
ErrorCorrectionLevel ecLevel)Encode the given content into a QR Code. |
static QRCode | Encoder.encode(String content,
ErrorCorrectionLevel ecLevel,
Map<EncodeHintType,?> hints)Encode content into a QR Code with hints for encoding options. |
(package private) static void | MatrixUtil.makeTypeInfoBits(ErrorCorrectionLevel ecLevel,
int maskPattern,
BitArray bits)Make type information bit vector |
void | QRCode.setECLevel(ErrorCorrectionLevel value)setECLevel. |