Skip to content

QrErrorCorrectionLevel

Alexander Zhirkevich edited this page Sep 5, 2022 · 1 revision

Level of QR code error correction. Allows some parts of QR code to be damaged or used for the logo.

enum class QrErrorCorrectionLevel(
    internal val lvl : ErrorCorrectionLevel
) {

    Auto(ErrorCorrectionLevel.L),

    Low(ErrorCorrectionLevel.L),

    Medium(ErrorCorrectionLevel.M),

    MediumHigh(ErrorCorrectionLevel.Q),

    High(ErrorCorrectionLevel.H)

}

Values

Value Description
Auto Minimum possible level according to logo will be used.
Low ~7% of QR code can be damaged (or used as logo).
Medium ~15% of QR code can be damaged (or used as logo).
MediumHigh ~25% of QR code can be damaged (or used as logo).
High ~30% of QR code can be damaged (or used as logo).
Clone this wiki locally