#import <IDT_UniMag.h>
Protocol methods established for IDT_UniMag 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) 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: