The ABTBluetoothReaderDelegate
protocol defines the response sent to a delegate of ABTBluetoothReader
object.
More...
#import <ABTBluetoothReader.h>
The ABTBluetoothReaderDelegate
protocol defines the response sent to a delegate of ABTBluetoothReader
object.
- (void) bluetoothReader: |
|
(ABTBluetoothReader *) |
bluetoothReader |
didAttachPeripheral: |
|
(CBPeripheral *) |
peripheral |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
Invoked when the Bluetooth reader attaches to the peripheral.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
peripheral | the peripheral. |
error | the error. |
- (void) bluetoothReader: |
|
(ABTBluetoothReader *) |
bluetoothReader |
didAuthenticateWithError: |
|
(NSError *) |
error |
|
|
| |
|
optional |
Invoked when the Bluetooth reader is authenticated.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
error | the error. |
- (void) bluetoothReader: |
|
(ABTBluetoothReader *) |
bluetoothReader |
didChangeBatteryLevel: |
|
(NSUInteger) |
batteryLevel |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
Invoked when the Bluetooth reader changes the battery level.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
batteryLevel | the battery level in percentage. |
error | the error. |
Invoked when the Bluetooth reader changes the battery status.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
batteryStatus | the battery status. |
error | the error. |
Invoked when the Bluetooth reader changes the card status.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
cardStatus | the card status. |
error | the error. |
- (void) bluetoothReader: |
|
(ABTBluetoothReader *) |
bluetoothReader |
didPowerOffCardWithError: |
|
(NSError *) |
error |
|
|
| |
|
optional |
Invoked when the Bluetooth reader powers off the card.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
error | the error. |
- (void) bluetoothReader: |
|
(ABTBluetoothReader *) |
bluetoothReader |
didReturnAtr: |
|
(NSData *) |
atr |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
Invoked when the Bluetooth reader returns the ATR string after powering on the card.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
atr | the ATR string. |
error | the error. |
Invoked when the Bluetooth reader returns the card status.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
cardStatus | the card status. |
error | the error. |
Invoked when the Bluetooth reader returns the device information.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
deviceInfo | the device information. |
type | the device information type. |
error | the error. |
- (void) bluetoothReader: |
|
(ABTBluetoothReader *) |
bluetoothReader |
didReturnEscapeResponse: |
|
(NSData *) |
response |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
Invoked when the Bluetooth reader returns the escape response.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
response | the escape response. |
error | the error. |
- (void) bluetoothReader: |
|
(ABTBluetoothReader *) |
bluetoothReader |
didReturnResponseApdu: |
|
(NSData *) |
apdu |
error: |
|
(NSError *) |
error |
|
|
| |
|
optional |
Invoked when the Bluetooth reader returns the response APDU.
- Parameters
-
bluetoothReader | the Bluetooth reader. |
apdu | the response APDU. |
error | the error. |
The documentation for this protocol was generated from the following file: