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
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
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
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
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
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
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
MauiAppBuilderThe builder object of type MauiAppBuilder registers the activity and the barcode classic component handlers.
options
InitializationOptionsPopulate 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.
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
InitializationOptionsPopulate the parameters required for initialisation options. This field is mandatory.