createBarcodeScanner

Provides BarcodeScanner

Return

a Result.Success containing a new instance of BarcodeScanner or a Result.*Error if something went wrong.

Parameters

configuration

configuration for the barcode scanner. If not provided, default configuration will be used.