public interface IReader
Modifier and Type | Method and Description |
---|---|
void |
checkError()
Use only within the SDK.
|
ActionState |
getAction()
Returns the current behavior of the device associated with an instance of the BaseReader class.
|
java.lang.String |
getAddress()
Returns the address of the device associated with an instance of the BaseReader class.
|
java.lang.String |
getDeviceName()
Returns the name of the Device associated with an instance of the BaseReader class.
|
DeviceType |
getDeviceType()
Returns the type of Device to which the instance is connected.
|
ResultCode |
getLastError()
Returns the result code for the last action.
|
IProtocol |
getProtocol()
Use only within the SDK.
|
java.lang.String |
getSerialNo()
Returns the serial number of the device.
|
java.lang.String |
getVersion()
Returns the firmware version of the device associated with the instance of the BaseReader class.
|
void |
resetError()
Use only within the SDK.
|
void |
setAction(ActionState state)
Use only within the SDK.
|
void |
setAddress(java.lang.String address)
Sets the address of the device to which the instance of BaseReader is connected.
|
void |
setDeviceName(java.lang.String name)
Sets the name of the device to which the instance of BaseReader is connected.
|
void |
setDeviceType(DeviceType deviceType)
Sets the type of device to which instance of BaseReader will be connected.
|
void |
setLastError(ResultCode code)
Use only within the SDK.
|
java.lang.String getDeviceName()
void setDeviceName(java.lang.String name)
name
- A string representing the name of the Device.DeviceType getDeviceType()
void setDeviceType(DeviceType deviceType)
deviceType
- The DeviceType enumeration indicating the type of device.java.lang.String getVersion()
java.lang.String getSerialNo()
IProtocol getProtocol()
ResultCode getLastError()
ActionState getAction()
java.lang.String getAddress()
void setAddress(java.lang.String address)
address
- void setLastError(ResultCode code)
code
- void resetError()
void checkError()
void setAction(ActionState state)
state
-