Ready-to-Use UI | MAUI Barcode Scanner
Ready to Use UI Components
The Ready-To-Use UI (RTU UI) Components is an easy way to integrate and customize high-level UI components (View Controllers for iOS and Activities for Android) for the most common tasks in Scanbot Barcode Scanner SDK. The design and behavior of these RTU UI Components are based on our many years of experience as well as the feedback from our SDK customers.
RTU UI Examples
- MAUI
- .NET Android
- .NET iOS
loading...
loading...
Overriding OnActivityResult
allows you to handle the barcode results which come back from our scanner.
loading...
loading...
Creating your own SBSDKUIBarcodeScannerViewControllerDelegate
allows you to handle the barcode results which come back from our scanner.
loading...
For more examples of how to use the MAUI Ready to Use UI Components, please see the Use Cases page.
For a fully fledged example, please see our example app scanbot-barcode-sdk-maui-example on GitHub.
Detection on an Image
Not only can you scan barcodes, the SDK also offers the option to detect barcodes on an existing still image (e.g. JPG file from Photo Library).
- MAUI
- .NET Android
- .NET iOS
loading...
loading...
loading...
- MAUI
- .NET Droid
- .NET iOS
var configuration = new BarcodeScannerConfiguration();
configuration.BarcodeFormats = new List<BarcodeFormat>
{
BarcodeFormat.QrCode, BarcodeFormat.Aztec
};
// Specify the property 'AcceptedDocumentFormats' to enable barcode detection
// for specific document formats. It will only handle the formats listed below.
AcceptedDocumentFormats = new List<BarcodeDocumentFormat>
{
BarcodeDocumentFormat.BoardingPass,
BarcodeDocumentFormat.Gs1,
...
}
var configuration = new BarcodeScannerConfiguration();
configuration.SetBarcodeFormatsFilter(new BarcodeFormat[]
{
BarcodeFormat.QrCode, BarcodeFormat.Aztec
});
var configuration = SBSDKUIBarcodeScannerConfiguration.DefaultConfiguration;
configuration.BehaviorConfiguration.AcceptedBarcodeTypes = new SBSDKBarcodeType[]
{
SBSDKBarcodeType.QRCode, SBSDKBarcodeType.Aztec
};
Want to scan longer than one minute?
Generate your free "no-strings-attached" Trial License and properly test the Scanbot SDK.
Get your free Trial LicenseWhat do you think of this documentation?
What can we do to improve it? Please be as detailed as you like.