Barcode Scanner Custom UI
Composable Barcode Scanner with customizable UI.
Parameters
Modifier to be applied to the scanner view.
Enables or disables the camera in the scanner.
Selects the camera module (front or back).
Sets the mode of the camera preview FIT_IN or FILL_IN.
Locks the focus distance to minimum for close up scanning. eg. micro barcodes.
Enables touch to focus functionality.
Enables or disables the torch (flashlight).
Sets the zoom level of the camera (1.0 to 5.0 if supported by the device).
Enables or disables barcode detection process.
Configuration for the barcode scanner. All barcodes parameters, types. etc. See BarcodeScannerConfiguration.
Configuration for the finder overlay. See FinderConfiguration.
Composable slot to display AR polygon view over the camera preview.
Composable slot to display view when camera permission is not granted.
Callback invoked each frame when barcodes are scanned. Provides BarcodeScannerResult.