android.device.scanner.configuration
Enum Triggering

java.lang.Object
  extended by java.lang.Enum<Triggering>
      extended by android.device.scanner.configuration.Triggering
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Triggering>

public enum Triggering
extends java.lang.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
 

Enum Constant Detail

PULSE

public static final Triggering 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

public static final Triggering 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

public static final Triggering HOST
Manual mode. A host command issues the triggering signal, the scan engine interprets an actual trigger pull as a Level triggering option.
Method Detail

values

public static Triggering[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:

Parameters:
none
Returns:
an array containing the constants of this enum type, in the order they are declared.
Example:
for (Triggering c : Triggering.values())
    System.out.println(c);

valueOf

public static Triggering valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - The name of the enum constant to be returned.
Returns:
the enum constant with the specified name.
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toInt

public int toInt()
Converts the Triggering to its corresponding integer value.
Parameters:
none
Returns:
int representing a Triggering value.