Table of Contents

Class ScanbotBarcodeSDK

Namespace
ScanbotSDK.MAUI
Assembly
BarcodeSDK.MAUI.dll
[Obsolete("This class is marked as deprecated, please use the ScanbotSDKMain class instead.")]
public static class ScanbotBarcodeSDK
Inheritance
ScanbotBarcodeSDK
Inherited Members

Properties

BarcodeDetector

Barcode Detection Service used for detection of Barcodes on image files.

[Obsolete("This property belongs to a deprecated class, please use the ScanbotSDKMain.RTU.Detectors instead.")]
public static IBarcodeDetector BarcodeDetector { get; }

Property Value

IBarcodeDetector

BarcodeScanner

Singleton implementation of the Barcode Scanner launcher

[Obsolete("This property belongs to a deprecated class, please use the ScanbotSDKMain.RTU.BarcodeScanner instead.")]
public static IBarcodeScanner BarcodeScanner { get; }

Property Value

IBarcodeScanner

LegacyBarcodeScanner

[Obsolete("This legacy property belongs to a deprecated class, It is available in the ScanbotSDKMain.RTU.Legacy.BarcodeScanner.")]
public static IBarcodeScanner LegacyBarcodeScanner { get; }

Property Value

IBarcodeScanner

LicenseInfo

SDK License info. Should be periodically checked whether the license is still valid or not

[Obsolete("This property belongs to a deprecated class, please use the ScanbotSDKMain.LicenseInfo instead.")]
public static LicenseInfo LicenseInfo { get; }

Property Value

LicenseInfo

PickerService

Singleton implementation of the image picker launcher

[Obsolete("This property belongs to a deprecated class, please use the ScanbotSDKMain.RTU.ImagePicker instead.")]
public static IImagePicker PickerService { get; }

Property Value

IImagePicker

SDKService

Singleton implementation available operations in the Scanbot Barcode SDK

[Obsolete("This property belongs to a deprecated class, please use the ScanbotSDKMain.CommonOperations instead.")]
public static ICommonOperations SDKService { get; }

Property Value

ICommonOperations

Methods

Initialize(MauiAppBuilder, InitializationOptions)

The main entry point for Scanbot Barcode SDK. The SDK must be initialized here. The builder object helps in registering the barcode classic components and registering the activity.

[Obsolete("This method belongs to a deprecated class, please use the SBSDKInitializer.Initialize method instead.")]
public static void Initialize(MauiAppBuilder builder, InitializationOptions options)

Parameters

builder MauiAppBuilder

The builder object of type MauiAppBuilder registers the activity and the barcode classic component handlers.

options InitializationOptions

Populate the parameters required for initialisation options. This field is mandatory.

Initialize(InitializationOptions)

The main entry point for Scanbot Barcode SDK. The SDK must be initialized here. ⚠ Note: On the Android platform, it is required to register your activity:

protected override void OnCreate(Bundle savedInstanceState)
{
    base.OnCreate(savedInstanceState);
    DependencyManager.RegisterActivity(this);
}

Or please use below-mentioned method overload, which handles the activity registration:

ScanbotBarcodeSDK.Initialize(MauiAppBuilder builder, InitializationOptions options);
[Obsolete("This method belongs to a deprecated class, please use the SBSDKInitializer.Initialize method instead.")]
public static void Initialize(InitializationOptions options)

Parameters

options InitializationOptions

Populate the parameters required for initialisation options. This field is mandatory.