public interface MSROperationResult extends OperationResult
MSROperationResult
s are generated by the Magnetic Stripe Reader
device implementation to notify the application of the completion of a
requested 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_INVALIDMEDIA
Media had invalid encoding.
|
static int |
ERR_NOMEDIA
No media encoding.
|
static int |
ERR_READFAIL
Encoded media was detected, but was unable to be read.
|
CANCEL, ERR_DEVICE_BASE, ERR_GENERAL_ERROR, ERR_NO_INFO, ERR_NO_PERMISSION, ERR_TIMEOUT, NONE, SUCCESS
Modifier and Type | Method and Description |
---|---|
MSRTrackData |
getMSRTrackData()
Gets the data object of the magnetic stripe card.
|
getResultCode
static final int ERR_READFAIL
getResultCode()
.static final int ERR_INVALIDMEDIA
getResultCode()
.static final int ERR_NOMEDIA
getResultCode()
.MSRTrackData getMSRTrackData()
MSRTrackData