Skip to content

//tvlib/org.mjdev.tvlib.glide.sources.qrcode/BarcodeEncoder

BarcodeEncoder

[androidJvm]\ object BarcodeEncoder

Properties

Name Summary
BLACK [androidJvm]
const val BLACK: Int
WHITE [androidJvm]
const val WHITE: Int

Functions

Name Summary
encodeBitmap [androidJvm]
fun encodeBitmap(contents: String?, format: BarcodeFormat?, width: Int, height: Int, backgroundColor: Int = WHITE, foregroundColor: Int = Color.BLACK): Bitmap
fun encodeBitmap(contents: String?, format: BarcodeFormat?, width: Int, height: Int, backgroundColor: Int = WHITE, foregroundColor: Int = Color.BLACK, hints: Map<EncodeHintType?, *>?): Bitmap
equals [androidJvm]
open operator fun equals(other: Any?): Boolean
hashCode [androidJvm]
open fun hashCode(): Int
toString [androidJvm]
open fun toString(): String