Enum UpcEanExtensionBehavior
- Namespace
- ScanbotSDK.MAUI.Core.Barcode
- Assembly
- ScanbotSDK.Shared.dll
[JsonConverter(typeof(UpcEanExtensionBehaviorConverter))]
public enum UpcEanExtensionBehavior
Fields
Allow2 = 4Return detected 2-digit extension if present, but do not require it. Ignore the 5-digit extension.
Allow5 = 5Return detected 5-digit extension if present, but do not require it. Ignore the 2-digit extension.
AllowAny = 6Return any detected extension if present, but do not require it.
Ignore = 3Always ignore the extension.
Require2 = 0Only barcodes with a 2-digit extension are accepted.
Require5 = 1Only barcodes with a 5-digit extension are accepted.
RequireAny = 2Only barcodes with either a 2-digit or a 5-digit extension are accepted.