BarcodeScanner class (Handheld 8)
2/18/2014
Represents the barcode scanner device.
Syntax
public sealed class BarcodeScanner : Object
Public NotInheritable Class BarcodeScanner
Inherits Object
public ref class BarcodeScanner sealed : Object
Attributes
MarshalingBehaviorAttribute(Agile)
StaticAttribute(Windows.Devices.PointOfService.IBarcodeScannerStatics, NTDDI_WIN8)
ThreadingAttribute(Both)
VersionAttribute(NTDDI_WIN8)
Members
The BarcodeScanner class has these types of members:
- Events
- Methods
- Properties
Events
The BarcodeScanner class has these events.
Event | Description |
---|---|
Occurs when the barcode scanner detects an operation status change. |
Methods
The BarcodeScanner class has these methods. It also inherits methods from the Object class.
Method | Description |
---|---|
Tests the state of the barcode scanner. |
|
Gets the supported symbology for the claimed barcode scanner. |
|
Determines whether the specified symbology is supported by the barcode scanner. |
|
Attempts to get an exclusive access to the barcode scanner. |
|
Creates a new instance of the barcode scanner from the specified device identifier. |
|
Returns the first available barcode scanner. |
|
Returns an Advanced Query Syntax (AQS) string this is used to enumerate available barcode scanners. |
|
Gets the list of profiles supported by the barcode scanner. |
|
Determines whether the profile is supported. |
|
Retrieves the requested statistics from the barcode scanner. |
Properties
The BarcodeScanner class has these properties.
Property | Access type | Description |
---|---|---|
Read-only |
Gets the capabilities of the specified barcode scanner. |
|
Read-only |
Gets the unique device identifier of the barcode scanner. |
Remarks
This object is created when GetDefaultAsync or FromIdAsync method completes.