| Modifier and Type | Field and Description |
|---|---|
QrCode.Ecc |
QrCode.errorCorrectionLevel
The error correction level used in this QR Code symbol.
|
| Modifier and Type | Method and Description |
|---|---|
static QrCode.Ecc |
QrCode.Ecc.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QrCode.Ecc[] |
QrCode.Ecc.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static QrCode |
QrCode.encodeBinary(byte[] data,
QrCode.Ecc ecl)
Returns a QR Code symbol representing the specified binary data string at the specified error correction level.
|
static QrCode |
QrCode.encodeSegments(List<QrSegment> segs,
QrCode.Ecc ecl)
Returns a QR Code symbol representing the specified data segments at the specified error correction
level or higher.
|
static QrCode |
QrCode.encodeSegments(List<QrSegment> segs,
QrCode.Ecc ecl,
int minVersion,
int maxVersion,
int mask,
boolean boostEcl)
Returns a QR Code symbol representing the specified data segments with the specified encoding parameters.
|
static QrCode |
QrCode.encodeText(String text,
QrCode.Ecc ecl)
Returns a QR Code symbol representing the specified Unicode text string at the specified error correction level.
|
static List<QrSegment> |
QrSegmentAdvanced.makeSegmentsOptimally(String text,
QrCode.Ecc ecl,
int minVersion,
int maxVersion)
Returns a new mutable list of zero or more segments to represent the specified Unicode text string.
|
| Constructor and Description |
|---|
QrCode(int ver,
QrCode.Ecc ecl,
byte[] dataCodewords,
int mask)
Creates a new QR Code symbol with the specified version number, error correction level, binary data array, and mask number.
|
Copyright © 2018. All rights reserved.