public interface RFCardReaderOperationResult extends OperationResult
RFCardReaderOperationResult
s are generated by the RFCard reader device implementation
to notify the application of the completion of an operation.
The getResultCode()
method
inherited from OperationResult
is used to
retrieve the success of the operation. Constants are defined in
OperationResult for that purpose.
Modifier and Type | Field and Description |
---|---|
static int |
ERR_CARD_UNREACHABLE
Card did not respond to a request.
|
static int |
ERR_COMMUNICATION
Exchange with card failed due to a communication error (parity, crc...).
|
static int |
ERR_MULTI_CARD
Many cards are placed
|
static int |
ERR_PROTOCOL
Protocol error - an error has occurred in the communication with the card.
|
CANCEL, ERR_DEVICE_BASE, ERR_GENERAL_ERROR, ERR_NO_INFO, ERR_NO_PERMISSION, ERR_TIMEOUT, NONE, SUCCESS
Modifier and Type | Method and Description |
---|---|
Card |
getCard()
Gets the card of scanning.
|
getResultCode
static final int ERR_COMMUNICATION
static final int ERR_PROTOCOL
static final int ERR_CARD_UNREACHABLE
static final int ERR_MULTI_CARD
Card getCard()
MifareCard
,
MifareUltralightCard
,
CPUCard