![]() |
UniPay SDK Guide for Android
0.02.011
API reference
|
The methods below are provided as a reference to the main commands needed to execute an EMV transaction or perform a swipe.
Begins an amount authorization request with the ICC. Returns authorization decision (approved, denied, or go online) in delegate method.
After receiving a host response, pass the result code as a string ("00"). The tags will be returned in the emvTransactionData delegate protocol.
If there was a communication error with host, you must still finish the EMV transaction by passing "EMV_COMPLETION_RESULT_UNABLE_TO_GO_ONLINE".
Methods for terminal configuration. When setting the terminal data, you populate and pass and UniPay_TerminalData structure.
Methods for AID management. When setting the AID, you populate and pass UniPay_ApplicationID. When retrieving the AID list, the list of AID Names/length can be retrieved from the populated NSArray
Method to retrieve kernel version.
Allows the direct sending of APDU packets to ICC
Enables MSR to receive Swipe. Results are returned as IDTMSRData in com.idtechproducts.device.OnReceiverListener.swipeMSRData
Disables the MSR from receiving swipes.