Packages that use Version
Package
Description
QR code decoding implementation for ZXing.
QR code encoding implementation for ZXing.
Uses of Version in com.google.zxing.qrcode.decoder
Fields in com.google.zxing.qrcode.decoder declared as VersionModifier and TypeFieldDescriptionprivate static final Version[]Version.VERSIONSAll the QR code versions.Methods in com.google.zxing.qrcode.decoder that return VersionModifier and TypeMethodDescriptionprivate static Version[]Version.buildVersions()See ISO 18004:2006 6.5.1 Table 9(package private) static VersionVersion.decodeVersionInformation(int versionBits) Decodes the version information from the raw version bits.static VersionVersion.getProvisionalVersionForDimension(int dimension) Deduces version information purely from QR Code dimensions.static VersionVersion.getVersionForNumber(int versionNumber) Gets the version for the version number.Methods in com.google.zxing.qrcode.decoder with parameters of type VersionModifier and TypeMethodDescriptionintMode.getCharacterCountBits(Version version) Return how many bits the character count field occupies for a version.Uses of Version in com.google.zxing.qrcode.encoder
Fields in com.google.zxing.qrcode.encoder declared as VersionMethods in com.google.zxing.qrcode.encoder that return VersionModifier and TypeMethodDescriptionprivate static VersionEncoder.chooseVersion(int numInputBits, ErrorCorrectionLevel ecLevel) Picks the smallest version that fits the data.QRCode.getVersion()Return the symbol version.private 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.Methods in com.google.zxing.qrcode.encoder with parameters of type VersionModifier and TypeMethodDescription(package private) static voidEncoder.appendLengthInfo(int numLetters, Version version, Mode mode, BitArray bits) Append length info.(package private) static voidMatrixUtil.buildMatrix(BitArray dataBits, ErrorCorrectionLevel ecLevel, Version version, int maskPattern, ByteMatrix matrix) Build the QR code matrixprivate static intEncoder.calculateBitsNeeded(Mode mode, BitArray headerBits, BitArray dataBits, Version version) Counts the bits needed to encode the content at a version.private static intEncoder.chooseMaskPattern(BitArray bits, ErrorCorrectionLevel ecLevel, Version version, ByteMatrix matrix) Picks the mask pattern with the lowest penalty.(package private) static voidMatrixUtil.embedBasicPatterns(Version version, ByteMatrix matrix) Embed position detection, timing, and adjustment patterns(package private) static voidMatrixUtil.makeVersionInfoBits(Version version, BitArray bits) Make version information bit vectorprivate static voidMatrixUtil.maybeEmbedPositionAdjustmentPatterns(Version version, ByteMatrix matrix) Draws the adjustment patterns the version needs.(package private) static voidMatrixUtil.maybeEmbedVersionInfo(Version version, ByteMatrix matrix) Embed version info if version >= 7voidQRCode.setVersion(Version version) Record the symbol version.private static booleanEncoder.willFit(int numInputBits, Version version, ErrorCorrectionLevel ecLevel) Whether the data fits in the version at this error-correction level.