public interface SmartCardReaderOperationResult extends OperationResult
SmartCardReaderOperationResult
interface extends OperationResult
to provide results specific to smart card reader operations.
It is used by the smart card reader device implementation to inform an application about the completion and outcome of a smart card operation.
The OperationResult.getResultCode()
method, inherited from OperationResult
, retrieves the operation's result code.
Standard result codes are defined in OperationResult
.
This interface also provides a method to retrieve the card object involved in the operation.
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()
Retrieves the card object involved in the operation.
|
getResultCode
Card getCard()
This method returns a Card
object, which can be a specific type of smart card such as CPUCard
or SLE4442Card
.
Card
object representing the smart card involved in the operation.CPUCard
,
SLE4442Card