![]() |
IDTech iOS/OSX SDK Guide
1.1.052
API reference for BTPay 200
|
#import <IDT_BTPay.h>
Instance Methods | |
(void) | - deviceConnected |
Fires when device connects. If a connection is established before the delegate is established (no delegate to send initial connection notification to), this method will fire upon establishing the delegate. | |
(void) | - deviceDisconnected |
Fires when device disconnects. | |
(void) | - dataInOutMonitor:incoming: |
(void) | - swipeMSRData: |
(void) | - emvTransactionData:errorCode: |
(void) | - pinpadData:keySN:event: |
Protocol methods established for IDT_BTPay class
|
optional |
All incoming/outgoing data going to the device can be monitored through this delegate.
data | The serial data represented as a NSData object |
isIncoming | The direction of the data
|
|
optional |
EMV Transaction Data
This protocol will receive results from IDT_Device::startEMVTransaction:otherAmount:timeout:cashback:additionalTags:()
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 |
|
optional |
Pinpad data delegate protocol
Receives data from pinpad methods
value | encrypted data returned from pin_getEncryptedData:minLength:maxLength:messageID:language: (IDT_BTPay), or encrypted account number returned from pin_getCardAccount:max:line1:line2: (IDT_BTPay). String value returned from pin_getAmount:maxLength:messageID:language: (IDT_BTPay) or pin_getNumeric:minLength:maxLength:messageID:language: (IDT_BTPay). PINblock returned from pin_getEncryptedPIN:keyType:line1:line2:line3: (IDT_BTPay) |
KSN | Key Serial Number returned from pin_getEncryptedPIN:keyType:line1:line2:line3: (IDT_BTPay), pin_getCardAccount:max:line1:line2: (IDT_BTPay) or pin_getEncryptedData:minLength:maxLength:messageID:language: (IDT_BTPay) |
event | EVENT_PINPAD_Types PINpad event that solicited the data capture |
|
optional |
Receives card data from MSR swipe.
cardData | Captured card data from MSR swipe |