13.8 <IDT_NEO2_Delegate> Protocol Reference 119
13.8 <IDT_NEO2_Delegate> Protocol Reference
#import <IDT_NEO2.h>
Inheritance diagram for <IDT_NEO2_Delegate>:
<IDT_NEO2_Delegate>
<NSObject>
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) - deviceMessage:
• (void) - pinpadData:keySN:event:
• (void) - lcdDisplay:lines:
• (void) - emvTransactionData:errorCode:
13.8.1 Detailed Description
Protocol methods established for IDT_NEO2 class
13.8.2 Method Documentation
13.8.2.1 - (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.
13.8.2.2 - (void) deviceMessage: (NSString ∗) message [optional]
Receives messages from the framework
Parameters
message String message transmitted by framework
IDTech iOS SDK Guide for NEO2 #80152802-001