enum classqrgen::QrEcc

sys::Obj
  sys::Enum
    qrgen::QrEcc

@Serializable { simple=true }

QR error correction code levels.

fromStr

Source

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

Source

const static QrEcc high := ...

Code can tolerate ~30% erroneous codewords.

low

Source

const static QrEcc low := ...

Code can tolerate ~7% erroneous codewords.

medium

Source

const static QrEcc medium := ...

Code can tolerate ~15% erroneous codewords.

vals

Source

const static QrEcc[] vals := QrEcc[QrEcc.low,QrEcc.medium,QrEcc.high]

List of QrEcc values indexed by ordinal