ACS Audio Jack iOS Library  1.0.0
<ACRAudioJackReaderDelegate > Protocol Reference

The ACRAudioJackReaderDelegate protocol defines the response sent to a delegate of ACRAudioJackReader object. More...

#import <ACRAudioJackReader.h>

Inheritance diagram for <ACRAudioJackReaderDelegate >:

Instance Methods

(void) - readerDidReset:
 Tells the delegate that the reader had been reset. More...
 
(void) - reader:didNotifyResult:
 Tells the delegate that the reader notified the result. More...
 
(void) - reader:didSendFirmwareVersion:
 Tells the delegate that the reader sent the firmware version. More...
 
(void) - reader:didSendStatus:
 Tells the delegate that the reader sent the status. More...
 
(void) - readerDidNotifyTrackData:
 Tells the delegate that the reader notified the track data. More...
 
(void) - reader:didSendTrackData:
 Tells the delegate that the reader sent the track data. More...
 
(void) - reader:didSendRawData:length:
 Tells the delegate that the reader sent the raw data. More...
 
(void) - reader:didAuthenticate:
 Tells the delegate that the reader had been authenticated. More...
 
(void) - reader:didSendCustomId:length:
 Tells the delegate that the reader sent the custom ID. More...
 
(void) - reader:didSendDeviceId:length:
 Tells the delegate that the reader sent the device ID. More...
 
(void) - reader:didSendDukptOption:
 Tells the delegate that the reader sent the DUKPT option. More...
 
(void) - reader:didSendTrackDataOption:
 Tells the delegate that the reader sent the track data option. More...
 
(void) - reader:didSendPiccAtr:length:
 Tells the delegate that the reader sent the ATR from PICC. More...
 
(void) - reader:didSendPiccResponseApdu:length:
 Tells the delegate that the reader sent the response APDU from PICC. More...
 

Detailed Description

The ACRAudioJackReaderDelegate protocol defines the response sent to a delegate of ACRAudioJackReader object.

Method Documentation

◆ reader:didAuthenticate:()

- (void ACRAudioJackReaderDelegate) reader: (ACRAudioJackReader *)  reader
didAuthenticate: (NSInteger)  errorCode 
optional

Tells the delegate that the reader had been authenticated.

Parameters
readerthe reader.
errorCodethe error code from ACRAuthError.

◆ reader:didNotifyResult:()

- (void ACRAudioJackReaderDelegate) reader: (ACRAudioJackReader *)  reader
didNotifyResult: (ACRResult *)  result 
optional

Tells the delegate that the reader notified the result.

Parameters
readerthe reader.
resultthe 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
readerthe reader.
customIdthe custom ID.
lengththe 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
readerthe reader.
deviceIdthe device ID.
lengththe 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
readerthe reader.
enabledtrue 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
readerthe reader.
firmwareVersionthe 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
readerthe reader.
atrthe ATR.
lengththe 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
readerthe reader.
responseApduthe response APDU.
lengththe 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
readerthe reader.
rawDatathe raw data.
lengththe raw data length.

◆ reader:didSendStatus:()

- (void ACRAudioJackReaderDelegate) reader: (ACRAudioJackReader *)  reader
didSendStatus: (ACRStatus *)  status 
optional

Tells the delegate that the reader sent the status.

Parameters
readerthe reader.
statusthe status.

◆ reader:didSendTrackData:()

- (void ACRAudioJackReaderDelegate) reader: (ACRAudioJackReader *)  reader
didSendTrackData: (ACRTrackData *)  trackData 
optional

Tells the delegate that the reader sent the track data.

Parameters
readerthe reader.
trackDatathe track data.

◆ reader:didSendTrackDataOption:()

- (void ACRAudioJackReaderDelegate) reader: (ACRAudioJackReader *)  reader
didSendTrackDataOption: (ACRTrackDataOption option 
optional

Tells the delegate that the reader sent the track data option.

Parameters
readerthe reader.
optionthe track data option. See ACRTrackDataOptionEncryptedTrack1, ACRTrackDataOptionEncryptedTrack2, ACRTrackDataOptionMaskedTrack1 and ACRTrackDataOptionMaskedTrack2.

◆ readerDidNotifyTrackData:()

- (void ACRAudioJackReaderDelegate) readerDidNotifyTrackData: (ACRAudioJackReader *)  reader
optional

Tells the delegate that the reader notified the track data.

Parameters
readerthe reader.

◆ readerDidReset:()

- (void ACRAudioJackReaderDelegate) readerDidReset: (ACRAudioJackReader *)  reader
optional

Tells the delegate that the reader had been reset.

Parameters
readerthe reader.

The documentation for this protocol was generated from the following file: