Packages that use Mode
Package
Description
QR code decoding implementation for ZXing.
QR code encoding implementation for ZXing.
Uses of Mode in com.google.zxing.qrcode.decoder
Subclasses with type arguments of type Mode in com.google.zxing.qrcode.decoderMethods in com.google.zxing.qrcode.decoder that return ModeModifier and TypeMethodDescriptionstatic ModeMode.forBits(int bits) Look up the data mode a four-bit type field encodes.static ModeReturns the enum constant of this class with the specified name.static Mode[]Mode.values()Returns an array containing the constants of this enum class, in the order they are declared.Uses of Mode in com.google.zxing.qrcode.encoder
Fields in com.google.zxing.qrcode.encoder declared as ModeModifier and TypeFieldDescriptionprivate ModeQRCode.modeThe encoding mode the data was encoded with.Methods in com.google.zxing.qrcode.encoder that return ModeModifier and TypeMethodDescriptionstatic ModeEncoder.chooseMode(String content) Selects the mode that encodes the given text in the fewest bits.private static ModeEncoder.chooseMode(String content, String encoding) Choose the best mode by examining the content.QRCode.getMode()Return the encoding mode.Methods in com.google.zxing.qrcode.encoder with parameters of type ModeModifier and TypeMethodDescription(package private) static voidEncoder.appendBytes(String content, Mode mode, BitArray bits, String encoding) Append "bytes" in "mode" mode (encoding) into "bits".(package private) static voidEncoder.appendLengthInfo(int numLetters, Version version, Mode mode, BitArray bits) Append length info.(package private) static voidEncoder.appendModeInfo(Mode mode, BitArray bits) Append mode info.private static intEncoder.calculateBitsNeeded(Mode mode, BitArray headerBits, BitArray dataBits, Version version) Counts the bits needed to encode the content at a 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.voidRecord the encoding mode.