Interface for receiving MRTD read events.
Objects which implement this protocol may receive callbacks when these events occur, via delegation from a GrabbaMRTD_Listener object.
Note that this protocol need not be directly implemented; it may be simpler to subclass GrabbaMRTD_Listener and thereby receive the events directly.
Thread safety: This interface is intended to be thread-safe; any classes deriving from it should ensure that the relevant methods are callable from any thread.
Instance Methods | |
(void) | - dataEvent: |
Callback which is invoked when an asynchronous MRTD read completes successfully. More... | |
(void) | - errorEvent: |
Callback which is invoked when an asynchronous MRTD read fails. More... | |
(void) | - progressEvent: |
Callback which is invoked when asynchronous MRTD read progress advances. More... | |
- (void) dataEvent: | (GrabbaBER_TLV *_Nonnull) | data |
Callback which is invoked when an asynchronous MRTD read completes successfully.
data | Contents of the data read from the MRTD, in BER-TLV format |
- (void) errorEvent: | (GrabbaErrorCode *_Nonnull) | error |
Callback which is invoked when an asynchronous MRTD read fails.
error | Reason why the read operation failed |
- (void) progressEvent: | (uint8_t) | percentage |
Callback which is invoked when asynchronous MRTD read progress advances.
percentage | Current read progress percentage |