Edit

uap6:BarcodeScannerProvider

Used for enabling the support of a barcode scanner.

Element hierarchy

<Package>
   └─ <Extensions>
      └─ <uap6:Extension>
         └─ <uap6:BarcodeScannerProvider>
   └─ <Applications>
      └─ <Application>
         └─ <Extensions>
            └─ <uap6:Extension>
               └─ <uap6:BarcodeScannerProvider>

Syntax

<uap6:BarcodeScannerProvider
  DisplayName = 'An optional string between 1 and 256 characters in length. This string is localizable.'
  SupportsVideoPreview = 'An optional boolean value.' />

Attributes

Attribute Description Data type Required Default value
DisplayName The barcode scanner provider display name. An optional string between 1 and 256 characters in length. This string is localizable. No
SupportsVideoPreview Specify true or false to indicate whether video preview is supported. An optional boolean value. No

Child elements

None.

Parent elements

Parent element Description
uap6:Extension Declares an extensibility point for the app.

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/uap/windows10/6
Minimum OS Version Windows 10 version 1803 (Build 17134)

Remarks

If the SupportsVideoPreview attribute is true, indicating that the provider supports video preview, a windows.barcodeScannerPreviewProvider extension must also be specified in the manifest.

Examples