Uses of Class
com.google.zxing.qrcode.decoder.ErrorCorrectionLevel
-
Packages that use ErrorCorrectionLevel Package Description com.google.zxing.qrcode.decoder com.google.zxing.qrcode.encoder -
-
Uses of ErrorCorrectionLevel in com.google.zxing.qrcode.decoder
Fields in com.google.zxing.qrcode.decoder declared as ErrorCorrectionLevel Modifier and Type Field Description private ErrorCorrectionLevel
FormatInformation. errorCorrectionLevel
private static ErrorCorrectionLevel[]
ErrorCorrectionLevel. FOR_BITS
Methods in com.google.zxing.qrcode.decoder that return ErrorCorrectionLevel Modifier and Type Method Description static ErrorCorrectionLevel
ErrorCorrectionLevel. forBits(int bits)
(package private) ErrorCorrectionLevel
FormatInformation. getErrorCorrectionLevel()
static ErrorCorrectionLevel
ErrorCorrectionLevel. valueOf(java.lang.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.Methods in com.google.zxing.qrcode.decoder with parameters of type ErrorCorrectionLevel Modifier and Type Method Description (package private) static DecoderResult
DecodedBitStreamParser. decode(byte[] bytes, Version version, ErrorCorrectionLevel ecLevel, java.util.Map<DecodeHintType,?> hints)
(package private) static DataBlock[]
DataBlock. getDataBlocks(byte[] rawCodewords, Version version, ErrorCorrectionLevel ecLevel)
When QR Codes use multiple data blocks, they are actually interleaved.Version.ECBlocks
Version. getECBlocksForLevel(ErrorCorrectionLevel ecLevel)
-
Uses of ErrorCorrectionLevel in com.google.zxing.qrcode.encoder
Fields in com.google.zxing.qrcode.encoder declared as ErrorCorrectionLevel Modifier and Type Field Description private ErrorCorrectionLevel
MinimalEncoder. ecLevel
private ErrorCorrectionLevel
QRCode. ecLevel
Methods in com.google.zxing.qrcode.encoder that return ErrorCorrectionLevel Modifier and Type Method Description ErrorCorrectionLevel
QRCode. getECLevel()
Methods in com.google.zxing.qrcode.encoder with parameters of type ErrorCorrectionLevel Modifier and Type Method Description (package private) static void
MatrixUtil. buildMatrix(BitArray dataBits, ErrorCorrectionLevel ecLevel, Version version, int maskPattern, ByteMatrix matrix)
private static int
Encoder. chooseMaskPattern(BitArray bits, ErrorCorrectionLevel ecLevel, Version version, ByteMatrix matrix)
private static Version
Encoder. chooseVersion(int numInputBits, ErrorCorrectionLevel ecLevel)
(package private) static void
MatrixUtil. embedTypeInfo(ErrorCorrectionLevel ecLevel, int maskPattern, ByteMatrix matrix)
static QRCode
Encoder. encode(java.lang.String content, ErrorCorrectionLevel ecLevel)
static QRCode
Encoder. encode(java.lang.String content, ErrorCorrectionLevel ecLevel, java.util.Map<EncodeHintType,?> hints)
(package private) static MinimalEncoder.ResultList
MinimalEncoder. encode(java.lang.String stringToEncode, Version version, java.nio.charset.Charset priorityCharset, boolean isGS1, ErrorCorrectionLevel ecLevel)
Encodes the string minimally(package private) static void
MatrixUtil. makeTypeInfoBits(ErrorCorrectionLevel ecLevel, int maskPattern, BitArray bits)
private static Version
Encoder. recommendVersion(ErrorCorrectionLevel ecLevel, Mode mode, BitArray headerBits, BitArray dataBits)
Decides the smallest version of QR code that will contain all of the provided data.void
QRCode. setECLevel(ErrorCorrectionLevel value)
(package private) static boolean
Encoder. willFit(int numInputBits, Version version, ErrorCorrectionLevel ecLevel)
Constructors in com.google.zxing.qrcode.encoder with parameters of type ErrorCorrectionLevel Constructor Description MinimalEncoder(java.lang.String stringToEncode, java.nio.charset.Charset priorityCharset, boolean isGS1, ErrorCorrectionLevel ecLevel)
Creates a MinimalEncoder
-