BarcodeScannerReport BarcodeScannerReport BarcodeScannerReport BarcodeScannerReport Class

Definition

Contains the barcode scanner data.

public : sealed class BarcodeScannerReport : IBarcodeScannerReportpublic sealed class BarcodeScannerReport : IBarcodeScannerReportPublic NotInheritable Class BarcodeScannerReport Implements IBarcodeScannerReport// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This object is accessed when you retrieve the Report property of the BarcodeScannerDataReceivedEventArgs object.

Properties

ScanData ScanData ScanData ScanData

Gets the full raw data from the DataReceived event.

public : IBuffer ScanData { get; }public IBuffer ScanData { get; }Public ReadOnly Property ScanData As IBuffer// You can use this property in JavaScript.
Value
IBuffer IBuffer IBuffer IBuffer

The raw data stream from the scanning event.

ScanDataLabel ScanDataLabel ScanDataLabel ScanDataLabel

Gets the decoded barcode label, which does not include the header, checksum, and other miscellaneous information.

public : IBuffer ScanDataLabel { get; }public IBuffer ScanDataLabel { get; }Public ReadOnly Property ScanDataLabel As IBuffer// You can use this property in JavaScript.
Value
IBuffer IBuffer IBuffer IBuffer

The data stream containing the decoded barcode label.

Remarks

If IsDecodeDataEnabled is true, this property contains the decodes barcode label. If IsDecodeDataEnabled is false, this property is set to null.

ScanDataType ScanDataType ScanDataType ScanDataType

Gets the decoded barcode label type. Possible values are defined in the BarcodeSymbologies class.

public : unsigned int ScanDataType { get; }public uint ScanDataType { get; }Public ReadOnly Property ScanDataType As uint// You can use this property in JavaScript.
Value
unsigned int uint uint uint

The specific barcode symbology.

Remarks

The return value of this property depends on the value of IsDecodeDataEnabled property. If IsDecodeDataEnabled is true, this property contains the barcode symbology. If IsDecodeDataEnabled is false, this property contains the BarcodeSymbology.Unknown value.