Packages that use ErrorCorrectionLevel
Package
Description
QR code decoding implementation for ZXing.
QR code encoding implementation for ZXing.
Uses of ErrorCorrectionLevel in com.google.zxing.qrcode.decoder
Subclasses with type arguments of type ErrorCorrectionLevel in com.google.zxing.qrcode.decoderFields in com.google.zxing.qrcode.decoder declared as ErrorCorrectionLevelModifier and TypeFieldDescriptionprivate final ErrorCorrectionLevelFormatInformation.errorCorrectionLevelThe level the format bits name.private static final ErrorCorrectionLevel[]ErrorCorrectionLevel.FOR_BITSLevels in the order the format bits select them.Methods in com.google.zxing.qrcode.decoder that return ErrorCorrectionLevelModifier and TypeMethodDescriptionstatic ErrorCorrectionLevelErrorCorrectionLevel.forBits(int bits) Get the ErrorCorrectionLevel for the given bits.(package private) ErrorCorrectionLevelFormatInformation.getErrorCorrectionLevel()Error correction level decoded from format info bits.static ErrorCorrectionLevelReturns the enum constant of this class with the specified name.static ErrorCorrectionLevel[]ErrorCorrectionLevel.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.google.zxing.qrcode.decoder with parameters of type ErrorCorrectionLevelModifier and TypeMethodDescriptionVersion.getECBlocksForLevel(ErrorCorrectionLevel ecLevel) Gets the EC blocks for the error correction level.Uses of ErrorCorrectionLevel in com.google.zxing.qrcode.encoder
Fields in com.google.zxing.qrcode.encoder declared as ErrorCorrectionLevelModifier and TypeFieldDescriptionprivate ErrorCorrectionLevelQRCode.ecLevelThe error correction level chosen.Methods in com.google.zxing.qrcode.encoder that return ErrorCorrectionLevelMethods in com.google.zxing.qrcode.encoder with parameters of type ErrorCorrectionLevelModifier and TypeMethodDescription(package private) static voidMatrixUtil.buildMatrix(BitArray dataBits, ErrorCorrectionLevel ecLevel, Version version, int maskPattern, ByteMatrix matrix) Build the QR code matrixprivate static intEncoder.chooseMaskPattern(BitArray bits, ErrorCorrectionLevel ecLevel, Version version, ByteMatrix matrix) Picks the mask pattern with the lowest penalty.private static VersionEncoder.chooseVersion(int numInputBits, ErrorCorrectionLevel ecLevel) Picks the smallest version that fits the data.(package private) static voidMatrixUtil.embedTypeInfo(ErrorCorrectionLevel ecLevel, int maskPattern, ByteMatrix matrix) Embed type informationstatic QRCodeEncoder.encode(String content, ErrorCorrectionLevel ecLevel) Encode the given content into a QR Code.static QRCodeEncoder.encode(String content, ErrorCorrectionLevel ecLevel, Map<EncodeHintType, ?> hints) Encode content into a QR Code with hints for encoding options.(package private) static voidMatrixUtil.makeTypeInfoBits(ErrorCorrectionLevel ecLevel, int maskPattern, BitArray bits) Make type information bit vectorprivate static VersionEncoder.recommendVersion(ErrorCorrectionLevel ecLevel, Mode mode, BitArray headerBits, BitArray dataBits) Decides the smallest version of QR code that will contain all of the provided data.voidQRCode.setECLevel(ErrorCorrectionLevel value) Record the error correction level.private static booleanEncoder.willFit(int numInputBits, Version version, ErrorCorrectionLevel ecLevel) Whether the data fits in the version at this error-correction level.