to top
Datalogic APIs
public final enum

RfidInventoryPolicy

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.datalogic.device.configuration.RfidInventoryPolicy

Class Overview

Enum RfidInventoryPolicy defines how an RFID inventory operation is terminated.

The inventory policy controls whether the reader stops automatically after a predefined timeout or continues running until explicitly stopped by the application or user action.

These are the allowed values for the property RFID_INVENTORY_POLICY.

Summary

Enum Values
RfidInventoryPolicy  CONTINUOUS  Continuous inventory mode. 
RfidInventoryPolicy  TIMED  Timed inventory mode. 
Public Methods
static RfidInventoryPolicy fromOrdinal(int n)
Retrieves the corresponding RfidInventoryPolicy value from a valid integer.
int toInt()
Converts this policy to its corresponding integer value.
static RfidInventoryPolicy valueOf(String name)
final static RfidInventoryPolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RfidInventoryPolicy CONTINUOUS

Added in revision 50

Continuous inventory mode.

The inventory operation runs continuously until stopInventory() is explicitly called or the RFID trigger or hardware key is released.

public static final RfidInventoryPolicy TIMED

Added in revision 50

Timed inventory mode.

The inventory operation ends automatically when the timeout defined by RFID_TIMEOUT expires.

The inventory can also be stopped manually by calling stopInventory().

Public Methods

public static RfidInventoryPolicy fromOrdinal (int n)

Added in revision 50

Retrieves the corresponding RfidInventoryPolicy value from a valid integer.

Parameters
n int
Returns
  • RfidInventoryPolicy the corresponding one.

public int toInt ()

Added in revision 50

Converts this policy to its corresponding integer value.

Returns
  • int representing the policy.

public static RfidInventoryPolicy valueOf (String name)

Added in revision 50

public static final RfidInventoryPolicy[] values ()

Added in revision 50