to top
Datalogic APIs
public static final enum

InputDevice.Type

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.decode.InputDevice.Type

Class Overview

Enumeration representing the type of input device.

Summary

Enum Values
InputDevice.Type  CAMERA  Type for a Camera input device. 
InputDevice.Type  SCANENGINE  Type for a Scan Engine input device. 
Public Methods
static InputDevice.Type fromInt(int value)
Retrieves the corresponding Type value from a valid integer.
int toInt()
Converts the type to its integer corresponding value.
static InputDevice.Type valueOf(String name)
final static Type[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final InputDevice.Type CAMERA

Added in revision 33

Type for a Camera input device.

public static final InputDevice.Type SCANENGINE

Added in revision 33

Type for a Scan Engine input device.

Public Methods

public static InputDevice.Type fromInt (int value)

Added in revision 33

Retrieves the corresponding Type value from a valid integer.

Parameters
value Integer to use as input in the conversion.
Returns
  • The corresponding type.

public int toInt ()

Added in revision 33

Converts the type to its integer corresponding value.

Returns
  • Integer value of this type.

public static InputDevice.Type valueOf (String name)

Added in revision 33

public static final Type[] values ()

Added in revision 33