AsReaderNFCDeviceDelegate¶
⚠️ Note:
These delegate methods are called back only when the AsReader device is properly connected and the corresponding methods have been called.
No callbacks occur if the model is unsupported or not connected.
nfcReadMultiBlockReceived¶
Receives data and status from an NFC tag.
Called back with the result after executing readMultiBlockWithBlockIndex.
- (void)nfcReadMultiBlockReceived:(NSArray *)dataArray statusCode:(SDK4StatusCode)statusCode;
Parameters¶
Name |
Type |
Description |
|
NSArray |
Data read from the NFC tag |
|
SDK4StatusCode |
Status data of the NFC operation (see |
Return Value¶
Type |
Description |
void |
None (callback method) |
Sample Code¶
- (void)nfcReadMultiBlockReceived:(NSArray *)dataArray statusCode:(SDK4StatusCode)statusCode{
// dataArray: Data read from the NFC tag
// statusCode: Status data of the NFC operation (see section 6.1 SDK4StatusCode for details).
}
nfcWriteSingleBlockStatusCode¶
Receives the status of writing to an NFC tag.
Called back with the result after executing writeSingleBlockWithBlockIndex.
- (void)nfcWriteSingleBlockStatusCode:(SDK4StatusCode)statusCode;
Parameters¶
Name |
Type |
Description |
|
SDK4StatusCode |
Status data of the NFC operation (see |
Return Value¶
Type |
Description |
void |
None (callback method) |
Sample Code¶
- (void)nfcWriteSingleBlockStatusCode:(SDK4StatusCode)statusCode{
// statusCode: Status data of the NFC operation (see section 6.1 SDK4StatusCode for details).
}
nfcWriteBytesStatusCode¶
Receives the status of writing bytes to an NFC tag.
Called back with the result after executing writeBytesWithBlockIndex.
- (void)nfcWriteBytesStatusCode:(SDK4StatusCode)statusCode;
Parameters¶
Name |
Type |
Description |
|
SDK4StatusCode |
Status data of the NFC operation (see |
Return Value¶
Type |
Description |
void |
None (callback method) |
Sample Code¶
- (void)nfcWriteBytesStatusCode:(SDK4StatusCode)statusCode{
// statusCode: Status data of the NFC operation (see section 6.1 SDK4StatusCode for details).
}