IDTech iOS SDK Guide  1.1.166.045
API reference for NEO2
Implement Optional Delegate Protocols

Implement any/all of the optional delegate protocols used to receive data from IDT_NEO2_Delegate:

func deviceConnected()
func deviceDisconnected()
func dataInOutMonitor(data: NSData!, incoming isIncoming: Bool)
func swipeMSRData(cardData: IDTMSRData!)
func deviceMessage(message: NSString!)
func lcdDisplay(mode: Int32, lines: [AnyObject]!)
func pinpadData(_ value: Data, keySN KSN: Data, event: EVENT_PINPAD_Types)
func emvTransactionData(emvData: IDTEMVData!, errorCode error: Int32)