java.lang.Objectjava.lang.Enum<Triggering>
android.device.scanner.configuration.Triggering
public enum Triggering
Trigger decode Mode:
PULSE | Automatic mode. After the scan is triggered, the light is decoded until the valid barcode is scanned or the laser is turned on and timed out. |
CONTINUOUS | Continuous mode. After the scan is triggered, the light is decoded, and it ends after scanning to a valid barcode or after the laser is turned on, and then starts the next scan. |
HOST | Manual mode. A host command issues the triggering signal, the scan engine interprets an actual trigger pull as a Level triggering option. |
Enum Constant Summary | |
---|---|
PULSE
Automatic mode. After the scan is triggered, the light is decoded until the valid barcode is scanned or the laser is turned on and timed out. |
|
CONTINUOUS
Continuous mode. After the scan is triggered, the light is decoded, and it ends after scanning to a valid barcode or after the laser is turned on, and then starts the next scan. |
|
HOST
Manual mode. A host command issues the triggering signal, the scan engine interprets an actual trigger pull as a Level triggering option. |
Method Summary | |
---|---|
int |
toInt()
Convert the Triggering to its corresponding integer value. |
static Triggering |
valueOf(java.lang.String name)
Return the enum constant of this type with the specified name. |
static Triggering[] |
values()
Return an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
public static final Triggering PULSE
public static final Triggering CONTINUOUS
public static final Triggering HOST
public static Triggering[] values()
for (Triggering c : Triggering.values())
System.out.println(c);
public static Triggering valueOf(java.lang.String name)
name
- The name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic int toInt()