QRCodeProcessor

constructor(data: String, errorCorrectionLevel: ErrorCorrectionLevel = ErrorCorrectionLevel.MEDIUM, dataType: QRCodeDataType = QRUtil.getDataType(data), graphicsFactory: QRCodeGraphicsFactory = QRCodeGraphicsFactory())(source)

Parameters

data

String that will be encoded in the QR Code.

errorCorrectionLevel

The level of Error Correction that should be applied to the QR Code. Defaults to ErrorCorrectionLevel.MEDIUM.

dataType

One of the available QRCodeDataType. By default, the code tries to guess which one is the best fitting one from your input data.