Share via


BarcodeScannerCapabilities Class

Definition

Represents the barcode scanner capabilities.

public ref class BarcodeScannerCapabilities sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class BarcodeScannerCapabilities final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class BarcodeScannerCapabilities
Public NotInheritable Class BarcodeScannerCapabilities
Inheritance
Object Platform::Object IInspectable BarcodeScannerCapabilities
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Remarks

This object is accessed when you retrieve the Capabilities property of the BarcodeScanner object.

Version history

Windows version SDK version Value added
1809 17763 IsVideoPreviewSupported

Properties

IsImagePreviewSupported

Indicates whether the barcode scanner supports image preview.

IsSoftwareTriggerSupported

Indicates whether the barcode scanner supports the software trigger functionality.

IsStatisticsReportingSupported

Indicates whether the barcode scanner supports reporting of usage statistics.

IsStatisticsUpdatingSupported

Indicates whether the barcode scanner supports updating or resetting of usage statistics.

IsVideoPreviewSupported

Indicates whether the barcode scanner supports displaying a live video preview from an attached camera.

PowerReportingType

Gets the power reporting type for the barcode scanner.

Applies to