Package com.zebra.rfid.api3
Class Actions
java.lang.Object
com.zebra.rfid.api3.Actions
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 Summary
FieldsModifier and TypeFieldDescriptionThe Gen2v2 object for accessThe Inventory Operations Object.The MultiTagLocate objectThe Pre-Filter Object for InventoryThe Tag Access Operations ObjectThe taglocationing object -
Method Summary
Modifier and TypeMethodDescriptionvoidenableNGEErrorLogs(boolean nGEErrorLogEnabler) This method is used for enabling the NGE Error LogsvoidenableNGELogs(boolean nGELogEnabler) This method is used for enabling NGELogsprotected voidfinalize()DestructorbooleanThis method get all batched tags present in reader and Reader queuesTagData[]getMultiTagLocateTagInfo(int numberOfTags) This method is used for to get Multitaglocate informationTagData[]getReadTags(int numberOfTags) This method fetches a array of Tags that was read by the reader.getReadTagsEx(int numberOfTags) This method fetches a array of Tags that was read by the reader.protected TagData[]preGetReadTags(int numberOfTags) booleanThis method purges all tags present in Dll and Reader queuesvoidreset()This method resets and restarts the reader.
-
Field Details
-
Inventory
The Inventory Operations Object. -
TagAccess
The Tag Access Operations Object -
PreFilters
The Pre-Filter Object for Inventory -
gen2v2Access
The Gen2v2 object for access -
TagLocationing
The taglocationing object -
MultiTagLocate
The MultiTagLocate object
-
-
Method Details
-
finalize
protected void finalize()Destructor -
getReadTagsEx
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
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
-
getMultiTagLocateTagInfo
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
This method resets and restarts the reader. The application is required to redo the basic steps for initializing the reader. -
enableNGEErrorLogs
public void enableNGEErrorLogs(boolean nGEErrorLogEnabler) throws InvalidUsageException, OperationFailureException This method is used for enabling the NGE Error Logs- Parameters:
nGEErrorLogEnabler-- Throws:
InvalidUsageExceptionOperationFailureException
-
enableNGELogs
public void enableNGELogs(boolean nGELogEnabler) throws InvalidUsageException, OperationFailureException This method is used for enabling NGELogs- Parameters:
nGELogEnabler-- Throws:
InvalidUsageExceptionOperationFailureException
-