WalletBarcodeSymbology Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
The ApplicationModel.Wallet namespace is no longer supported, and will soon be deprecated. Developers are encouraged to avoid using this namespace.
Represents the barcode symbology types that are supported for a WalletItem.
public enum class WalletBarcodeSymbology
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class WalletBarcodeSymbology
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("WalletBarcodeSymbology is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
enum class WalletBarcodeSymbology
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum WalletBarcodeSymbology
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("WalletBarcodeSymbology is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 917504, "Windows.Foundation.UniversalApiContract")]
public enum WalletBarcodeSymbology
var value = Windows.ApplicationModel.Wallet.WalletBarcodeSymbology.invalid
Public Enum WalletBarcodeSymbology
- Inheritance
-
WalletBarcodeSymbology
- Attributes
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Fields
Aztec | 10 | Uses the Aztec barcode symbology. |
Code128 | 7 | Uses the Code 128 barcode symbology. |
Code39 | 6 | Uses the Code 39 barcode symbology. |
Custom | 100000 | Uses a custom bar code symbology. |
Ean13 | 3 | Uses the EAN-13 barcode symbology. |
Ean8 | 4 | Uses the EAN-8 barcode symbology. |
Invalid | 0 | Invalid barcode type. |
Itf | 5 | Uses the ITF barcode symbology. |
Pdf417 | 9 | Uses the PDF417 barcode symbology. |
Qr | 8 | Uses the QR Code barcode symbology. |
Upca | 1 | Uses the UPC-A barcode symbology. |
Upce | 2 | Uses the UPC-E barcode symbology. |
Remarks
Each value other than Invalid and Custom enables creation of the barcode image by the system, when you call GetImageAsync. For symbologies that aren't in this enumeration, use the WalletBarcode(IRandomAccessStreamReference) constructor and provide your own image.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for