BarcodeScannerTriggerState 枚举

定义

定义指示条形码触发器状态的常量。

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
继承
BarcodeScannerTriggerState
属性

Windows 要求

设备系列
Windows 10, version 1803 (在 10.0.17134.0 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v6.0 中引入)

字段

Pressed 1

扫描操作期间按下条形码扫描仪触发器或按钮。

Released 0

条形码扫描仪触发器或按钮在扫描操作期间释放。

适用于