Package | Description |
---|---|
com.google.zxing.qrcode.decoder | |
com.google.zxing.qrcode.encoder |
Modifier and Type | Method and Description |
---|---|
static Mode |
Mode.forBits(int bits) |
static Mode |
Mode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Mode[] |
Mode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Mode |
Encoder.chooseMode(String content) |
Mode |
QRCode.getMode() |
Modifier and Type | Method and Description |
---|---|
(package private) static void |
Encoder.appendBytes(String content,
Mode mode,
BitArray bits,
String encoding)
Append "bytes" in "mode" mode (encoding) into "bits".
|
(package private) static void |
Encoder.appendLengthInfo(int numLetters,
Version version,
Mode mode,
BitArray bits)
Append length info.
|
(package private) static void |
Encoder.appendModeInfo(Mode mode,
BitArray bits)
Append mode info.
|
void |
QRCode.setMode(Mode value) |