Companion

Properties

Link copied to clipboard
const val DEFAULT_CELL_SIZE: Int = 25
Link copied to clipboard
const val MAXIMUM_INFO_DENSITY: Int = 40

Functions

Link copied to clipboard
fun infoDensityForDataAndECL(data: String, errorCorrectionLevel: ErrorCorrectionLevel, dataType: QRCodeDataType = QRUtil.getDataType(data)): Int

Infer what is the least amount of the QRCode.informationDensity parameter to fit the specified data at the given errorCorrectionLevel.