//qrcode-kotlin/io.github.g0dkar.qrcode/QRCode/QRCode

QRCode

[common]\

@JvmOverloads

constructor(data: String, errorCorrectionLevel: ErrorCorrectionLevel = ErrorCorrectionLevel.M, dataType: QRCodeDataType = QRUtil.getDataType(data))

Parameters

common

   
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.M.
dataType One of the available QRCodeDataType. By default, the code tries to guess which one is the best fitting one from your input data.