//qrcode-kotlin/io.github.g0dkar.qrcode/QRCode/Companion
[common]
object Companion
Name | Summary |
---|---|
DEFAULT_CELL_SIZE | [common] const val DEFAULT_CELL_SIZE: Int = 25 |
DEFAULT_MARGIN | [common] const val DEFAULT_MARGIN: Int = 0 |
Name | Summary |
---|---|
typeForDataAndECL | [common] @JvmStatic @JvmOverloads fun typeForDataAndECL(data: String, errorCorrectionLevel: ErrorCorrectionLevel, dataType: QRCodeDataType = QRUtil.getDataType(data)): Int Calculates a suitable value for the dataType field for you. |