public class Events
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
Events.BatchModeEventData
Contains BatchMode Event Data
|
class |
Events.BatteryData
Contains Battery Data like cause, battery level and status of charging
|
class |
Events.BufferFullWarningEventData
Represents Buffer Full warning event data.
|
class |
Events.DisconnectionEventData
Represents Reader Disconnect event data.
|
class |
Events.GPIEventData
Represents GPI Event Data (port and the current state)
|
class |
Events.HandheldTriggerEventData
Represents Hand held Trigger Event Data (current state)
|
class |
Events.InventoryStartEventData
Represents Inventory start event data.
|
class |
Events.InventoryStopEventData
Represents Inventory stop event data.
|
class |
Events.OperationEndSummaryData |
class |
Events.PowerData
Contains Power Data like voltage, current and power
|
class |
Events.ReaderExceptionEventData
Represents Reader Disconnect event data.
|
class |
Events.ReadEventData
Represents RFID Tag Data on read.
|
class |
Events.StatusEventData |
class |
Events.TemperatureAlarmData
Contains Temperature Alarm Event Data
|
class |
Events.WifiScanEventData
Represents RFID wifi Scan Data on read.
|
class |
Events.WPAEventData |
Modifier and Type | Field and Description |
---|---|
static RFIDLogger |
LOGGER |
Actions |
m_Actions |
Modifier and Type | Method and Description |
---|---|
void |
addEventsListener(RfidEventsListener rfidEventListener)
Adds the Event Listener for reporting Tag Read and status notification
|
void |
addWifiScanDataEventsListener(WifiScanDataEventsListener wifiScanDataListener)
Adds the Event Listeners for reporting Wifi Scan Data notification
|
java.lang.String |
getHostName() |
com.zebra.rfid.api3.RfidConnectionState |
getRfidConnectionState() |
Events.StatusEventData |
GetStatusEventData(RFID_EVENT_TYPE eventType) |
boolean |
isAntennaEventSet()
Checks if Antenna Event Notification is enabled/disabled.
|
boolean |
isAttachTagDataWithReadEventSet()
Checks whether Attach Tag Data with Read Event is enabled/disabled
|
boolean |
isBatchModeEventSet()
Supported only in RFD8500.
|
boolean |
isBatterySet()
Checks if Battery Event Notification is enabled/disabled.
|
boolean |
isBufferFullEventSet()
Checks if Buffer Full Event is enabled or not
|
boolean |
isBufferFullWarningEventSet()
Checks if Buffer full warning Event Notification is enabled/disabled.
|
boolean |
isGPIEventSet()
Checks if GPI Event Notification is enabled/disabled.
|
boolean |
isHandheldEventSet()
Checks Hand held Gun/Button event is enabled/disabled
|
boolean |
isInventoryStartEventSet()
Checks if Inventory Start Event Notification is enabled/disabled.
|
boolean |
isInventoryStopEventSet()
Checks if Inventory Stop Event Notification is enabled/disabled.
|
boolean |
isOperationEndSummaryEvenSet()
Checks if Operation End Summary Event Notification is enabled/disabled.
|
boolean |
isPowerEventSet()
Checks if Power Event Notification is enabled/disabled.
|
boolean |
isReaderDisconnectEventSet()
Checks if Reader Disconnection Event Notification is enabled/disabled.
|
boolean |
isReaderExceptionEventSet()
Event notifying that an exception has occurred in the Reader.
|
boolean |
isScanDataEventSet()
Checks if WPA Event Notification is enabled/disabled.
|
boolean |
isTagReadEventSet()
Checks Tag Read Event is enabled/disabled
|
boolean |
isTemperatureAlarmEventSet()
Checks if Temperature Event Notification is enabled/disabled.
|
boolean |
isWPAEventSet()
Checks if WPA Event Notification is enabled/disabled.
|
protected void |
notifyReadEventSchedule() |
protected void |
notifyWifiScanEventSchedule() |
void |
removeEventsListener(RfidEventsListener rfidEventListener)
Removes the Event Listener.
|
void |
removeWifiScanDataEventsListener(WifiScanDataEventsListener wifiScanDataListener)
Removes the Event Listener.
|
void |
setAntennaEvent(boolean notifyAntennaEvent)
To enable/disable Antenna Event Notification.
|
void |
setAttachTagDataWithReadEvent(boolean attachTagDataWithReadEvent)
Specified whether TagData should be reported along with the eventReadNotify method of
RfidEventsListener interface.
|
void |
setBatchModeEvent(boolean notifyBatchMode)
Supported only in RFD8500.
|
void |
setBatteryEvent(boolean notifyBatteryEvent)
To enable/disable Battery Event Notification.
|
void |
setBufferFullEvent(boolean notifyBufferFullEvent)
To Enable Buffer full Event Notification.
|
void |
setBufferFullWarningEvent(boolean notifyBufferFullWarningEvent)
To enable/disable Buffer full warning Event Notification.
|
void |
setGPIEvent(boolean notifyGPIEvent)
Not supported in Android RFID SDK
To enable/disable GPI Event Notification.
|
void |
setHandheldEvent(boolean notifyHandheldEvent)
To enable/disable A Hand held Gun/Button event - Pull/Release Notification
|
void |
setInventoryStartEvent(boolean notifyInventoryStartEvent)
To enable/disable Inventory Start Event Notification.
|
void |
setInventoryStopEvent(boolean notifyInventoryStopEvent)
To enable/disable Inventory Stop Event Notification.
|
void |
setOperationEndSummaryEvent(boolean notifyOperationEndSummary)
To enable/disable Operation End Summary Event Notification.
|
void |
setPowerEvent(boolean notifyPowerEvent)
To enable/disable Power Event Notification.
|
void |
setReaderDisconnectEvent(boolean notifyReaderDisconnectEvent)
To enable/disable Reader Disconnection Event Notification.
|
void |
setReaderExceptionEvent(boolean notifyReaderExceptionEvent)
Event notifying that an exception has occurred in the Reader.
|
void |
setRfidConnectionState(com.zebra.rfid.api3.RfidConnectionState rfidConnectionState) |
protected java.lang.Boolean |
setRfidReConnectionStateEvents()
set events again on reader in case of reconnection
|
void |
setScanDataEvent(boolean notifyScanDataEvent)
To enable/disable Power Event Notification.
|
void |
setTagReadEvent(boolean notifyTagReadEvent)
Enables/Disables the Tag Read Notification
If enabled, the eventReadNotify method of RfidEventsListener interface will be called to signal tag the notification.
|
void |
setTemperatureAlarmEvent(boolean notifyTemperatureAlarmEvent)
To enable/disable Temperature Alarm Notification.
|
void |
setWPAEvent(boolean notifyWPAEvent)
To enable/disable Power Event Notification.
|
public Actions m_Actions
public static final RFIDLogger LOGGER
public boolean isBufferFullEventSet()
public void setBufferFullEvent(boolean notifyBufferFullEvent)
notifyBufferFullEvent
- When the internal buffers are 100% full, BUFFER_FULL_EVENT will be notified every time a new
tag report is received. The oldest TagData reports will be replaced by the newest in a circular FIFO manner.public boolean isTagReadEventSet()
public void setTagReadEvent(boolean notifyTagReadEvent)
public boolean isHandheldEventSet()
public void setHandheldEvent(boolean notifyHandheldEvent)
public boolean isReaderExceptionEventSet()
public void setReaderExceptionEvent(boolean notifyReaderExceptionEvent)
notifyReaderExceptionEvent
- To enable/disabled Reader Exception Event in the reader.public com.zebra.rfid.api3.RfidConnectionState getRfidConnectionState()
public void setRfidConnectionState(com.zebra.rfid.api3.RfidConnectionState rfidConnectionState)
rfidConnectionState
- protected java.lang.Boolean setRfidReConnectionStateEvents()
public boolean isAntennaEventSet()
public void setAntennaEvent(boolean notifyAntennaEvent)
public boolean isBufferFullWarningEventSet()
public void setBufferFullWarningEvent(boolean notifyBufferFullWarningEvent)
public boolean isGPIEventSet()
public void setGPIEvent(boolean notifyGPIEvent)
public boolean isInventoryStartEventSet()
public void setInventoryStartEvent(boolean notifyInventoryStartEvent)
public boolean isInventoryStopEventSet()
public void setInventoryStopEvent(boolean notifyInventoryStopEvent)
public boolean isTemperatureAlarmEventSet()
public void setTemperatureAlarmEvent(boolean notifyTemperatureAlarmEvent)
public boolean isReaderDisconnectEventSet()
public void setReaderDisconnectEvent(boolean notifyReaderDisconnectEvent)
public boolean isAttachTagDataWithReadEventSet()
public void setAttachTagDataWithReadEvent(boolean attachTagDataWithReadEvent)
public boolean isOperationEndSummaryEvenSet()
public void setOperationEndSummaryEvent(boolean notifyOperationEndSummary)
public boolean isBatchModeEventSet()
public void setBatchModeEvent(boolean notifyBatchMode)
public boolean isPowerEventSet()
public void setPowerEvent(boolean notifyPowerEvent)
public boolean isBatterySet()
public void setBatteryEvent(boolean notifyBatteryEvent)
public boolean isWPAEventSet()
public void setWPAEvent(boolean notifyWPAEvent)
public boolean isScanDataEventSet()
public void setScanDataEvent(boolean notifyScanDataEvent)
public java.lang.String getHostName()
public void addEventsListener(RfidEventsListener rfidEventListener) throws InvalidUsageException, OperationFailureException
public void removeEventsListener(RfidEventsListener rfidEventListener) throws InvalidUsageException, OperationFailureException
rfidEventListener
- InvalidUsageException
OperationFailureException
public void addWifiScanDataEventsListener(WifiScanDataEventsListener wifiScanDataListener) throws InvalidUsageException, OperationFailureException
public void removeWifiScanDataEventsListener(WifiScanDataEventsListener wifiScanDataListener) throws InvalidUsageException, OperationFailureException
protected void notifyReadEventSchedule()
protected void notifyWifiScanEventSchedule()
public Events.StatusEventData GetStatusEventData(RFID_EVENT_TYPE eventType)