secant-android-wallet/ui-lib/src/main/java/co/electriccoin/zcash/ui/screen/profile/util/QrCodeGenerator.kt

11 lines
385 B
Kotlin

package co.electriccoin.zcash.ui.screen.profile.util
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
}