The ACRAudioJackReaderDelegate
protocol defines the response sent to a delegate of ACRAudioJackReader
object.
More...
#import <ACRAudioJackReader.h>
The ACRAudioJackReaderDelegate
protocol defines the response sent to a delegate of ACRAudioJackReader
object.
◆ reader:didAuthenticate:()
- (void ACRAudioJackReaderDelegate) reader: |
|
(ACRAudioJackReader *) |
reader |
didAuthenticate: |
|
(NSInteger) |
errorCode |
|
|
| |
|
optional |
Tells the delegate that the reader had been authenticated.
- Parameters
-
reader | the reader. |
errorCode | the error code from ACRAuthError. |
◆ reader:didNotifyResult:()
Tells the delegate that the reader notified the result.
- Parameters
-
reader | the reader. |
result | the result. |
◆ reader:didSendCustomId:length:()
- (void ACRAudioJackReaderDelegate) reader: |
|
(ACRAudioJackReader *) |
reader |
didSendCustomId: |
|
(const uint8_t *) |
customId |
length: |
|
(NSUInteger) |
length |
|
|
| |
|
optional |
Tells the delegate that the reader sent the custom ID.
- Parameters
-
reader | the reader. |
customId | the custom ID. |
length | the custom ID length. |
◆ reader:didSendDeviceId:length:()
- (void ACRAudioJackReaderDelegate) reader: |
|
(ACRAudioJackReader *) |
reader |
didSendDeviceId: |
|
(const uint8_t *) |
deviceId |
length: |
|
(NSUInteger) |
length |
|
|
| |
|
optional |
Tells the delegate that the reader sent the device ID.
- Parameters
-
reader | the reader. |
deviceId | the device ID. |
length | the device ID length. |
◆ reader:didSendDukptOption:()
- (void ACRAudioJackReaderDelegate) reader: |
|
(ACRAudioJackReader *) |
reader |
didSendDukptOption: |
|
(BOOL) |
enabled |
|
|
| |
|
optional |
Tells the delegate that the reader sent the DUKPT option.
- Parameters
-
reader | the reader. |
enabled | true if DUKPT is enabled. |
◆ reader:didSendFirmwareVersion:()
- (void ACRAudioJackReaderDelegate) reader: |
|
(ACRAudioJackReader *) |
reader |
didSendFirmwareVersion: |
|
(NSString *) |
firmwareVersion |
|
|
| |
|
optional |
Tells the delegate that the reader sent the firmware version.
- Parameters
-
reader | the reader. |
firmwareVersion | the firmware version. |
◆ reader:didSendPiccAtr:length:()
- (void ACRAudioJackReaderDelegate) reader: |
|
(ACRAudioJackReader *) |
reader |
didSendPiccAtr: |
|
(const uint8_t *) |
atr |
length: |
|
(NSUInteger) |
length |
|
|
| |
|
optional |
Tells the delegate that the reader sent the ATR from PICC.
- Parameters
-
reader | the reader. |
atr | the ATR. |
length | the ATR length. |
◆ reader:didSendPiccResponseApdu:length:()
- (void ACRAudioJackReaderDelegate) reader: |
|
(ACRAudioJackReader *) |
reader |
didSendPiccResponseApdu: |
|
(const uint8_t *) |
responseApdu |
length: |
|
(NSUInteger) |
length |
|
|
| |
|
optional |
Tells the delegate that the reader sent the response APDU from PICC.
- Parameters
-
reader | the reader. |
responseApdu | the response APDU. |
length | the response APDU length. |
◆ reader:didSendRawData:length:()
- (void ACRAudioJackReaderDelegate) reader: |
|
(ACRAudioJackReader *) |
reader |
didSendRawData: |
|
(const uint8_t *) |
rawData |
length: |
|
(NSUInteger) |
length |
|
|
| |
|
optional |
Tells the delegate that the reader sent the raw data.
- Parameters
-
reader | the reader. |
rawData | the raw data. |
length | the raw data length. |
◆ reader:didSendStatus:()
Tells the delegate that the reader sent the status.
- Parameters
-
reader | the reader. |
status | the status. |
◆ reader:didSendTrackData:()
Tells the delegate that the reader sent the track data.
- Parameters
-
reader | the reader. |
trackData | the track data. |
◆ reader:didSendTrackDataOption:()
Tells the delegate that the reader sent the track data option.
- Parameters
-
◆ readerDidNotifyTrackData:()
- (void ACRAudioJackReaderDelegate) readerDidNotifyTrackData: |
|
(ACRAudioJackReader *) |
reader |
|
|
optional |
Tells the delegate that the reader notified the track data.
- Parameters
-
◆ readerDidReset:()
Tells the delegate that the reader had been reset.
- Parameters
-
The documentation for this protocol was generated from the following file: