Class Actions

java.lang.Object
com.zebra.rfid.api3.Actions

public class Actions extends Object
This class represents the set of all operations that can be performed on the reader like Inventory and Access operations using various type of filters.
  • Field Details

    • Inventory

      public Inventory Inventory
      The Inventory Operations Object.
    • TagAccess

      public TagAccess TagAccess
      The Tag Access Operations Object
    • PreFilters

      public PreFilters PreFilters
      The Pre-Filter Object for Inventory
    • gen2v2Access

      public Gen2v2 gen2v2Access
      The Gen2v2 object for access
    • TagLocationing

      public TagLocationing TagLocationing
      The taglocationing object
    • MultiTagLocate

      public MultiTagLocate MultiTagLocate
      The MultiTagLocate object
  • Method Details

    • finalize

      protected void finalize()
      Destructor
      Overrides:
      finalize in class Object
    • getReadTagsEx

      public TagDataArray getReadTagsEx(int numberOfTags)
      This method fetches a array of Tags that was read by the reader. Tags will be read from the Reader using methods: Actions.Inventory.Perform or Actions.TagAccess.ReadEvent or Actions.TagAccess.ReadWait.
      Parameters:
      numberOfTags - Number of Tags that is to be fetched
      Returns:
      m_tagDataArray object which contains an array of TagData and a length field to indicate the actual number of tags read. When compared to getReadTags(numberOfTags) method, this method is more optimized for performance and memory. This method returns a preallocated TagData[] array which will be reused for every call to getReadTagsEx. As a result, the caller should not dispose the returned array as it is an internal array maintained by this library. The caller is also expected to consume or copy the tags returned by this method before invoking the method again, as it will be overwritten with new tag information.
    • getReadTags

      public TagData[] getReadTags(int numberOfTags)
      This method fetches a array of Tags that was read by the reader. Tags will be read from the Reader using methods: Actions.Inventory.Perform or Actions.TagAccess.ReadEvent or Actions.TagAccess.ReadWait.
      Parameters:
      numberOfTags - Number of Tags that is to be fetched
      Returns:
      An array of TagData if the method succeeds or an empty array if no Tags were available
    • preGetReadTags

      protected TagData[] preGetReadTags(int numberOfTags)
    • getMultiTagLocateTagInfo

      public TagData[] getMultiTagLocateTagInfo(int numberOfTags)
      This method is used for to get Multitaglocate information
      Parameters:
      numberOfTags -
      Returns:
      An array of TagData if the method succeeds or an empty array if no Tags were
    • purgeTags

      public boolean purgeTags()
      This method purges all tags present in Dll and Reader queues
      Returns:
      True if the method succeeds or False if fails
    • getBatchedTags

      public boolean getBatchedTags()
      This method get all batched tags present in reader and Reader queues
      Returns:
      True if the method succeeds or False if fails
    • reset

      public void reset() throws InvalidUsageException, OperationFailureException
      This method resets and restarts the reader. The application is required to redo the basic steps for initializing the reader.
      Throws:
      InvalidUsageException
      OperationFailureException
    • enableNGEErrorLogs

      public void enableNGEErrorLogs(boolean nGEErrorLogEnabler) throws InvalidUsageException, OperationFailureException
      This method is used for enabling the NGE Error Logs
      Parameters:
      nGEErrorLogEnabler -
      Throws:
      InvalidUsageException
      OperationFailureException
    • enableNGELogs

      public void enableNGELogs(boolean nGELogEnabler) throws InvalidUsageException, OperationFailureException
      This method is used for enabling NGELogs
      Parameters:
      nGELogEnabler -
      Throws:
      InvalidUsageException
      OperationFailureException