Table of Contents

Class BarcodeFormatTwoDConfigurationBase

Namespace
ScanbotSDK.MAUI.Core.Barcode
Assembly
ScanbotSDK.Shared.dll

Base class for all 2D barcode configurations.

[JsonPolymorphic(TypeDiscriminatorPropertyName = "_type")]
[JsonDerivedType(typeof(BarcodeFormatAztecConfiguration), "BarcodeFormatAztecConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatQrCodeConfiguration), "BarcodeFormatQRCodeConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatPdf417Configuration), "BarcodeFormatPDF417Configuration")]
[JsonDerivedType(typeof(BarcodeFormatMicroPdf417Configuration), "BarcodeFormatMicroPDF417Configuration")]
[JsonDerivedType(typeof(BarcodeFormatDataMatrixConfiguration), "BarcodeFormatDataMatrixConfiguration")]
[JsonDerivedType(typeof(BarcodeFormatMaxiCodeConfiguration), "BarcodeFormatMaxiCodeConfiguration")]
public class BarcodeFormatTwoDConfigurationBase : BarcodeFormatConfigurationBase
Inheritance
BarcodeFormatTwoDConfigurationBase
Derived
Inherited Members

Properties

FallbackEncoding

Fallback character encoding to use for decoding a 2D barcode in case that the character encoding is not specified in the barcode itself. Note that some specifications suggest a particular fallback encoding. Instead, by default, we use Unknown encoding, which means that the scanner will try to detect the character encoding automatically.

Default is UNKNOWN.

public CharacterEncoding FallbackEncoding { get; set; }

Property Value

CharacterEncoding

Methods

FromJson(string)

public static BarcodeFormatTwoDConfigurationBase FromJson(string rawJson)

Parameters

rawJson string

Returns

BarcodeFormatTwoDConfigurationBase