to top
Datalogic APIs
public final enum

RfidModePolicy

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

Class Overview

Enum RfidModePolicy defines how RFID tags are reported to the application during a reading or inventory session.

The mode policy determines whether tags are reported once, only a single tag is reported, or all detected tags are reported repeatedly for the duration of the session.

These are the allowed values for the property RFID_MODE_POLICY.

Summary

Enum Values
RfidModePolicy  SEND_ALL  Send all detected tags continuously. 
RfidModePolicy  SEND_ONCE  Send all detected tags once per reading session. 
RfidModePolicy  SEND_ONE  Send a single tag per reading session. 
Public Methods
static RfidModePolicy fromOrdinal(int n)
Retrieves the corresponding RfidModePolicy value from a valid integer.
int toInt()
Converts this policy to its corresponding integer value.
static RfidModePolicy valueOf(String name)
final static RfidModePolicy[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RfidModePolicy SEND_ALL

Added in revision 50

Send all detected tags continuously.

Tags are reported every time they are detected, including duplicates, for the entire duration of the reading session.

public static final RfidModePolicy SEND_ONCE

Added in revision 50

Send all detected tags once per reading session.

Each unique tag is reported a single time, even if it is detected multiple times during the same session.

public static final RfidModePolicy SEND_ONE

Added in revision 50

Send a single tag per reading session.

Even if multiple tags are detected, only one tag is reported and the session completes after the first successful read.

Public Methods

public static RfidModePolicy fromOrdinal (int n)

Added in revision 50

Retrieves the corresponding RfidModePolicy value from a valid integer.

Parameters
n int
Returns
  • RfidModePolicy 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 RfidModePolicy valueOf (String name)

Added in revision 50

public static final RfidModePolicy[] values ()

Added in revision 50