Class BarcodeFormatCommonTwoDConfiguration
- Namespace
- ScanbotSDK.MAUI.Core.Barcode
- Assembly
- ScanbotSDK.Shared.dll
Convenience configuration for enabling the scanning of multiple 2D codes with a common configuration. Add to scanner configuration to enable and configure the scanning of multiple 2D codes.
The given configuration will be applied to all enabled barcode formats, if they support it. You can override the common configuration for individual barcode formats by additionally adding their specific configuration to the scanner's configuration.
public class BarcodeFormatCommonTwoDConfiguration : BarcodeFormatConfigurationBase
- Inheritance
-
BarcodeFormatCommonTwoDConfiguration
- 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
Formats
List of 2D codes to scan.
public BarcodeFormat[] Formats { get; set; }
Property Value
Gs1Handling
GS1 message handling options.
Default is PARSE.
public Gs1Handling Gs1Handling { get; set; }
Property Value
StrictMode
If true, the barcode scanner will only return barcodes that pass the strict validation checks according to standards to avoid false positives.
Default is true.
public bool StrictMode { get; set; }
Property Value
Methods
FromJson(string)
public static BarcodeFormatCommonTwoDConfiguration FromJson(string rawJson)
Parameters
rawJsonstring