Barcode

@Serializable
data class Barcode(val encodedBarcode: String? = null, val rawBarcode: ByteArray? = null, val type: Barcode.Type? = null)

Describes the contents of a barcode.

Constructors

Link copied to clipboard
constructor(encodedBarcode: String? = null, rawBarcode: ByteArray? = null, type: Barcode.Type? = null)

Types

Link copied to clipboard

Supported barcode types.

Properties

Link copied to clipboard
val encodedBarcode: String? = null

The String representation of the barcode data if extracted.

Link copied to clipboard
val rawBarcode: ByteArray? = null

The raw bytes read from the barcode if extracted.

Link copied to clipboard
val type: Barcode.Type? = null

The type of barcode if extracted.