2022-03-08 11:05:03 -08:00
|
|
|
package co.electriccoin.zcash.ui.screen.profile.util
|
2022-01-13 09:49:08 -08:00
|
|
|
|
|
|
|
interface QrCodeGenerator {
|
|
|
|
/**
|
|
|
|
* @param data Data to encode into the QR code.
|
|
|
|
* @param sizePixels Size in pixels of the QR code.
|
|
|
|
* @return A QR code pixel matrix, represented as an array of booleans where false is white and true is black.
|
|
|
|
*/
|
|
|
|
fun generate(data: String, sizePixels: Int): BooleanArray
|
|
|
|
}
|