generateQR

fun generateQR(content: String, width: Int, height: Int): Bitmap?

Generates a QR code from the given content.

Return

A Bitmap representing the QR code, or null if an error occurred.

Parameters

content

The content to encode in the QR code.

width

The width of the QR code in pixels.

height

The height of the QR code in pixels.