serialize( config?: ToJsonConfiguration,): Promise< { encodeImages?: () => Promise<void>; items?: { barcode?: { dataBarStackSize?: number; encodeImages?: () => Promise<void>; extendedQuad?: Point[]; extendedQuadNormalized?: Point[]; extractedDocument?: | { children?: (...)
| (...)
; confidence?: (...)
| (...)
; confidenceWeight?: (...)
| (...)
; crop?: (...)
| (...)
| (...)
; encodeImages?: (...)
| (...)
; fields?: (...)
| (...)
; quad?: (...)
| (...)
; quadInRoot?: (...)
| (...)
; release?: (...)
| (...)
; serialize?: (...)
| (...)
; type?: (...)
| (...)
; } & {} | null; format?: BarcodeFormat; globalIndex?: number; isGS1CompositePart?: boolean; isGS1Message?: boolean; isUpsideDown?: boolean; quad?: Point[]; quadNormalized?: Point[]; rawBytes?: string; rawBytesEncodings?: { encoding?: (...)
| (...)
; end?: (...)
| (...)
; serialize?: (...)
| (...)
; start?: (...)
| (...)
; }[]; release?: () => void; serialize?: ( config?: ToJsonConfiguration, ) => Promise< (
{ readonly format?: BarcodeFormat | undefined; readonly text?: string | undefined; readonly rawBytes?: string | undefined; readonly rawBytesEncodings?: { readonly start?: number | undefined; readonly end?: number | undefined; readonly encoding?: CharacterEncoding | undefined; serialize?: ((config?: ToJsonConfigurati...
)
, >; sizeScore?: number; sourceImage?: | { buffer?: (...)
| (...)
; clear?: (...)
| (...)
; encodeImage?: (...)
| (...)
; encodeInPlace?: (...)
| (...)
; hibernate?: (...)
| (...)
; info?: (...)
| (...)
; isRetained?: (...)
| (...)
; release?: (...)
| (...)
; retain?: (...)
| (...)
; saveImage?: (...)
| (...)
; serialize?: (...)
| (...)
; uniqueId?: (...)
| (...)
; } & {} | null; structuredAppendInfo?: | { count?: (...)
| (...)
; id?: (...)
| (...)
; index?: (...)
| (...)
; serialize?: (...)
| (...)
; } & {} | null; text?: string; upcEanExtension?: string; }; count?: number; encodeImages?: () => Promise<void>; release?: () => void; serialize?: ( config?: ToJsonConfiguration, ) => Promise< (
{ readonly barcode?: { readonly format?: BarcodeFormat | undefined; readonly text?: string | undefined; readonly rawBytes?: string | undefined; readonly rawBytesEncodings?: { readonly start?: number | undefined; readonly end?: number | undefined; readonly encoding?: CharacterEncoding | undefined; serialize?: ((confi...
)
, >; }[]; release?: () => void; selectedZoomFactor?: number; serialize?: ( config?: ToJsonConfiguration, ) => Promise<{ readonly selectedZoomFactor?: number | undefined; readonly items?: { readonly barcode?: { readonly format?: BarcodeFormat | undefined; readonly text?: string | undefined; readonly rawBytes?: string | undefined; ... 17 more ...; encodeImages?: (() => Promise<...>) | undefined; } | undefined; readonly count?...
; },>
Results of the barcode scan.