Package com.zebra.rfid.api3
Class Actions
- java.lang.Object
-
- com.zebra.rfid.api3.Actions
-
public class Actions extends java.lang.ObjectThis 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 Summary
Fields Modifier and Type Field Description Gen2v2gen2v2AccessThe Gen2v2 object for accessInventoryInventoryThe Inventory Operations Object.MultiTagLocateMultiTagLocateThe MultiTagLocate objectPreFiltersPreFiltersThe Pre-Filter Object for InventoryTagAccessTagAccessThe Tag Access Operations ObjectTagLocationingTagLocationingThe taglocationing object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfinalize()DestructorbooleangetBatchedTags()This method get all batched tags present in reader and Reader queuesTagData[]getMultiTagLocateTagInfo(int numberOfTags)TagData[]getReadTags(int numberOfTags)This method fetches a array of Tags that was read by the reader.TagDataArraygetReadTagsEx(int numberOfTags)This method fetches a array of Tags that was read by the reader.protected TagData[]preGetReadTags(int numberOfTags)booleanpurgeTags()This method purges all tags present in Dll and Reader queuesvoidreset()This method resets and restarts the reader.
-
-
-
Field Detail
-
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 Detail
-
finalize
protected void finalize()
Destructor- Overrides:
finalizein classjava.lang.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)
-
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, OperationFailureExceptionThis method resets and restarts the reader. The application is required to redo the basic steps for initializing the reader.
-
-