Compose Camera LogoCompose Camera
PluginsMLKit Barcode

BarcodeScanner

API reference for BarcodeScanner class.

BarcodeScanner

The main plugin class for barcode scanning.

expect class BarcodeScanner : CameraPlugin {
    val barcodes: StateFlow<List<Barcode>>
}

Properties

PropertyTypeDescription
barcodesStateFlow<List<Barcode>>A flow emitting the list of barcodes detected in the most recent frame.

On this page