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 extends BaseBarcodeScannerView with additional functionality specific to barcode scanning scenarios.

Properties and Event Handlers

BarcodeScanAndCountView

BarcodeScanAndCountView extends the BaseBarcodeScannerView to facilitate scenarios requiring both barcode scanning and counting.

Properties and Event Handlers
  • Properties

  • Functions

    • StartDetection: Starts the detection of barcodes, while the camera is still on.
    • StopDetection: Stops the detection of barcodes, while the camera is still on.
    • StartScanAndCount: Begins the process of scanning and counting barcodes. It freezes the camera on current frame, Shows a captured frame with highlighted barcodes.
    • ContinueScanning: Resumes the camera and prepares for another scan and count operation, without resetting the current barcodes count.
  • Event Handlers

Want to scan longer than one minute?

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

Get free trial license