Share via


BarcodeScannerTriggerState Enum

Definition

Defines the constants that indicate the barcode trigger state.

public enum class BarcodeScannerTriggerState
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 393216)]
enum class BarcodeScannerTriggerState
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 393216)]
public enum BarcodeScannerTriggerState
var value = Windows.Devices.PointOfService.Provider.BarcodeScannerTriggerState.released
Public Enum BarcodeScannerTriggerState
Inheritance
BarcodeScannerTriggerState
Attributes

Windows requirements

Requirements Description
Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Fields

Name Value Description
Released 0

The barcode scanner trigger or button is released during a scanning operation.

Pressed 1

The barcode scanner trigger or button is pressed during a scanning operation.

Applies to