-
Methods in io.nayuki.qrcodegen that return QrCode.Ecc
Modifier and Type |
Method |
Description |
static QrCode.Ecc |
QrCode.Ecc.valueOf(java.lang.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.
|
Methods in io.nayuki.qrcodegen with parameters of type QrCode.Ecc
Modifier and Type |
Method |
Description |
static QrCode |
QrCode.encodeBinary(byte[] data,
QrCode.Ecc ecl) |
Returns a QR Code representing the specified binary data at the specified error correction level.
|
static QrCode |
QrCode.encodeSegments(java.util.List<QrSegment> segs,
QrCode.Ecc ecl) |
Returns a QR Code representing the specified segments at the specified error correction
level.
|
static QrCode |
QrCode.encodeSegments(java.util.List<QrSegment> segs,
QrCode.Ecc ecl,
int minVersion,
int maxVersion,
int mask,
boolean boostEcl) |
Returns a QR Code representing the specified segments with the specified encoding parameters.
|
static QrCode |
QrCode.encodeText(java.lang.String text,
QrCode.Ecc ecl) |
Returns a QR Code representing the specified Unicode text string at the specified error correction level.
|
static java.util.List<QrSegment> |
QrSegmentAdvanced.makeSegmentsOptimally(java.lang.String text,
QrCode.Ecc ecl,
int minVersion,
int maxVersion) |
Returns a list of zero or more segments to represent the specified Unicode text string.
|
Constructors in io.nayuki.qrcodegen with parameters of type QrCode.Ecc
Constructor |
Description |
QrCode(int ver,
QrCode.Ecc ecl,
byte[] dataCodewords,
int msk) |
Constructs a QR Code with the specified version number,
error correction level, data codeword bytes, and mask number.
|