-
-
Notifications
You must be signed in to change notification settings - Fork 113
/
Copy pathTriggerMode.cs
44 lines (38 loc) · 1.34 KB
/
TriggerMode.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Iot.Device.AtomQrCode
{
/// <summary>
/// Trigger mode for the scanner.
/// </summary>
public enum TriggerMode
{
/// <summary>
/// No scan mode selected.
/// </summary>
None = 0,
/// <summary>
/// Host mode. Scanning has to be started and stopped programatically.
/// </summary>
Host,
/// <summary>
/// Press a button to start the reading and release the button to stop reading.
/// Reading will also stop on successful reading or upon successful reading timeout.
/// </summary>
KeyHold,
/// <summary>
/// Press a button momentarily to start reading. Press it again momentarily to stop reading.
/// Reading will also stop on successful reading or upon successful reading timeout.
/// </summary>
KeyPress,
/// <summary>
/// The reader will start decoding continuously.
/// </summary>
Continuous,
/// <summary>
/// The scan engine will detect the brightness of the surrounding area.
/// A reading will be triggered when the brightness changes.
/// </summary>
Autosensing
}
}