In the Home screen of the application, you can already see the UI block from the Barcode Plugin, the "Scan a code" button.
In the Settings screen, you can easily see how you could define the settings for the Barcode Scanner.
The allowed setting parameters are:
After choosing the desired settings, back to the Home Screen, by clicking on the "Scan a code" button, a Barcode Scanner with the given settings will be initialized.
These settings are passed through the UI block and the result will be sent through an event. On Service Studio, clicking on this UI block will show how this is done:
Check out Barcode Plugin in the product documentation to learn more about the plugin and the sample app.