#import <IDT_UniPayIII.h>
Protocol methods established for IDT_UniPayIII class
- (void) dataInOutMonitor: |
|
(NSData *) |
data |
incoming: |
|
(BOOL) |
isIncoming |
|
|
| |
|
optional |
All incoming/outgoing data going to the device can be monitored through this delegate.
- Parameters
-
data | The serial data represented as a NSData object |
isIncoming | The direction of the data
TRUE specifies data being received from the device,
FALSE indicates data being sent to the device.
|
- (void) deviceMessage: |
|
(NSString *) |
message |
|
|
optional |
Receives messages from the framework
- Parameters
-
message | String message transmitted by framework |
- (void) emvTransactionData: |
|
(IDTEMVData *) |
emvData |
errorCode: |
|
(int) |
error |
|
|
| |
|
optional |
EMV Transaction Data
This protocol will receive results from IDT_Device::startEMVTransaction:otherAmount:timeout:cashback:additionalTags:()
- Parameters
-
emvData | EMV Results Data. Result code, card type, encryption type, masked tags, encrypted tags, unencrypted tags and KSN |
error | The error code as defined in the errors.h file |
- (void) lcdDisplay: |
|
(int) |
mode |
lines: |
|
(NSArray *) |
lines |
|
|
| |
|
optional |
LCD Display Request During an EMV transaction, this delegate will receive data to clear virtual LCD display, display messages, display menu, or display language. Applies to UniPay III
- Parameters
-
mode | LCD Display Mode:
- 0x01: Menu Display. A selection must be made to resume the transaction
- 0x02: Normal Display get function key. A function must be selected to resume the transaction
- 0x03: Display without input. Message is displayed without pausing the transaction
- 0x04: List of languages are presented for selection. A selection must be made to resume the transaction
- 0x10: Clear Screen. Command to clear the LCD screen
|
- (void) plugStatusChange: |
|
(BOOL) |
deviceInserted |
|
|
optional |
Monitors the headphone jack for device insertion/removal.
- Parameters
-
deviceInserted | TRUE = device inserted, FALSE = device removed |
Receives card data from MSR swipe.
- Parameters
-
cardData | Captured card data from MSR swipe |
The documentation for this protocol was generated from the following file: