Skip to main content

Getting started with the .NET MAUI Barcode Scanner SDK's Custom UI

Permission validation

Custom UI Components do not automatically validate camera access permissions. It's up to developers to request and secure these permissions within their applications.

Before integrating camera functionalities, ensure that your app has obtained the necessary permissions to provide users with a seamless experience.

For MAUI applications, see our example on how to request camera permissions to ensure smooth operation:

BarcodeSDK.MAUI.Example/Common/Validation.cs
loading...

For a fully functional example, see our example app scanbot-barcode-sdk-maui-example on GitHub.

BarcodeScannerView

BarcodeScannerView exposes a wide range of properties for configuring the scanner's behavior and appearance. The example above covers some commonly used options. For a complete list of available properties, methods, events, and detailed descriptions, refer to the below mentioned API reference links.

note

BarcodeScannerView extends BaseBarcodeScannerView, so its complete API surface is split across both classes. For a full list of available properties, methods, and events, refer to the API references for both BarcodeScannerView and BaseBarcodeScannerView.

API reference:

BarcodeScanAndCountView

BarcodeScanAndCountView exposes a wide range of properties for configuring the scanner's behavior and appearance. The example above covers some commonly used options. For a complete list of available properties, methods, events, and detailed descriptions, refer to the below mentioned API reference links.

note

BarcodeScanAndCountView extends BaseBarcodeScannerView, so its complete API surface is split across both classes. For a full list of available properties, methods, and events, refer to the API references for both BarcodeScanAndCountView and BaseBarcodeScannerView.

API reference:

Want to scan longer than one minute?

Generate a free trial license to test the Scanbot SDK thoroughly.

Get free trial license