ALNFCDetectorDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | ALNFCDetector.h |
– nfcSucceededWithResult:
required method
Called when all data groups have been read from the NFC chip.
- (void)nfcSucceededWithResult:(ALNFCResult *_Nonnull)nfcResult
Parameters
nfcResult |
The data read from the chip |
---|
Declared In
ALNFCDetector.h
– nfcFailedWithError:
required method
Called when there is an error reading the NFC chip
- (void)nfcFailedWithError:(NSError *_Nonnull)error
Parameters
error |
The error encountered |
---|
Declared In
ALNFCDetector.h
– nfcSucceededWithDataGroup1:
Called when the first data group, containing textual and date information, has been read from the NFC chip. Implement this if you want to show this data as soon as it is loaded instead of waiting for all data to be read.
- (void)nfcSucceededWithDataGroup1:(ALDataGroup1 *_Nonnull)dataGroup1
Parameters
dataGroup1 |
The dataGroup object |
---|
Declared In
ALNFCDetector.h
– nfcSucceededWithDataGroup2:
Called when the second data group, containing the face image, has been read from the NFC chip. Implement this if you want to show this data as soon as it is loaded instead of waiting for all data to be read.
- (void)nfcSucceededWithDataGroup2:(ALDataGroup2 *_Nonnull)dataGroup2
Parameters
dataGroup2 |
The dataGroup object |
---|
Declared In
ALNFCDetector.h
– nfcSucceededWithSOD:
Called when the SOD (Document Security Object), has been read from the NFC chip. This feature will be available in a future version of the SDK.
- (void)nfcSucceededWithSOD:(ALSOD *_Nonnull)sod
Parameters
sod |
The SOD object |
---|
Declared In
ALNFCDetector.h