public abstract class AbstractPanStampListener extends Object implements PanStampListener
| Constructor and Description |
|---|
AbstractPanStampListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
productCodeChange(PanStamp dev,
int manufacturerId,
int productId)
The product code for a panStamp was changed.
|
void |
registerDetected(PanStamp dev,
Register reg)
A new register was added to a panStamp device.
|
void |
syncRequired(PanStamp dev)
A panStamp device needs to go into one of the synchronization states that
allows it to receive updates.
|
void |
syncStateChange(PanStamp dev,
int syncState)
The synchronization state of the device has changed.
|
public void productCodeChange(PanStamp dev, int manufacturerId, int productId)
PanStampListenerproductCodeChange in interface PanStampListenerdev - The device involvedmanufacturerId - The new manufacturer Id of the device.productId - The new productId of the device.public void syncStateChange(PanStamp dev, int syncState)
PanStampListenersyncStateChange in interface PanStampListenerdev - The device involved.syncState - The current state.public void registerDetected(PanStamp dev, Register reg)
PanStampListenerregisterDetected in interface PanStampListenerdev - The device involved.reg - The register added.public void syncRequired(PanStamp dev)
PanStampListenersyncRequired in interface PanStampListenerdev - The panStamp device needing to sync.Copyright © 2015. All rights reserved.