ScanbotBarcode
interface ScanbotBarcode
Functions
Link copied to clipboard
abstract fun parseDocument(rawText: String, acceptedFormats: List<BarcodeDocumentFormat>? = null): Result<BarcodeDocumentParserResult>
Parses a barcode document from the provided raw text.
Link copied to clipboard
abstract fun scanFromImage(image: ImageRef, configuration: BarcodeScannerConfiguration): Result<BarcodeScannerResult>
Scans barcodes from the provided image.
Link copied to clipboard
abstract fun startScanner(configuration: BarcodeScannerScreenConfiguration, onResult: (Result<BarcodeScannerUiResult>) -> Unit, onCanceled: () -> Unit? = null)
Opens the Ready-To-Use UI Barcode Scanner screen with the desired configuration.