enum classqrgen::QrEcc
sys::Obj sys::Enum qrgen::QrEcc
@
Serializable { simple=true }
QR error correction code levels.
- fromStr
static new fromStr(Str name, Bool checked := true)
Return the QrEcc instance for the specified name. If not a valid name and checked is false return null, otherwise throw ParseErr.
- high
const static QrEcc high := ...
Code can tolerate ~30% erroneous codewords.
- low
const static QrEcc low := ...
Code can tolerate ~7% erroneous codewords.
- medium
const static QrEcc medium := ...
Code can tolerate ~15% erroneous codewords.
- vals
const static QrEcc[] vals := QrEcc[QrEcc.low,QrEcc.medium,QrEcc.high]
List of QrEcc values indexed by ordinal