Package-level declarations

Types

Link copied to clipboard
interface Barcode

Represents a single detected Barcode.

Link copied to clipboard

Represents a detected Barcode's format, or UNKNOWN if the format of a scanned Barcode could not be determined.

Link copied to clipboard

Represents a Barcode Scanner that uses ML Kit Barcodes.

Link copied to clipboard
data class BarcodeScannerOptions(val barcodeFormats: List<TargetBarcodeFormat>)

Configuration options for a BarcodeScanner.

Link copied to clipboard
data class BarcodeScannerOutputOptions(val barcodeFormats: List<TargetBarcodeFormat>, val outputResolution: BarcodeScannerOutputResolution = BarcodeScannerOutputResolution.PREVIEW, val onBarcodeScanned: (barcodes: List<Barcode>) -> Unit, val onError: (error: Throwable) -> Unit)

Configuration options for a Barcode Scanner output.

Link copied to clipboard

Controls the camera buffer resolution used for barcode scanning.

Link copied to clipboard

Represents the semantic type of data encoded in a Barcode - e.g. a URL, a phone number, or a WiFi config - or UNKNOWN if the content type could not be classified.

Link copied to clipboard
data class Rect(val left: Double, val right: Double, val top: Double, val bottom: Double)

Represents a Rectangle in the current context's coordinate system.

Link copied to clipboard

Represents a target BarcodeFormat that the BarcodeScanner can be configured to scan for, or ALL_FORMATS to scan for every supported format.

Functions

Link copied to clipboard