Interface class for Grabba fingerprint reader events.
Objects which implement this interface may receive callbacks when these events occur, via delegation from a FingerprintListener object.
Note that this interface need not be directly implemented; it may be simpler to subclass FingerprintListener 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.
Public Member Functions | |
void | completionEvent () |
Callback which is invoked when an asynchronous fingerprint operation completes successfully. More... | |
void | errorEvent (@NonNull ErrorCode error) |
Callback which is invoked when an asynchronous fingerprint operation fails to complete. More... | |
void | imageEvent (@NonNull FingerprintImage image) |
Callback which is invoked when fingerprint image data is returned. More... | |
void | templateEvent (@NonNull FingerprintTemplate templ) |
Callback which is invoked when fingerprint template data is returned. More... | |
void | userMessageEvent (@NonNull FingerprintUserMessage message) |
Callback which is invoked when there is a user message to display. More... | |
void completionEvent | ( | ) |
Callback which is invoked when an asynchronous fingerprint operation completes successfully.
Implemented in FingerprintListener.
void errorEvent | ( | @NonNull ErrorCode | error | ) |
Callback which is invoked when an asynchronous fingerprint operation fails to complete.
error | Details of the error which was detected |
Implemented in FingerprintListener.
void imageEvent | ( | @NonNull FingerprintImage | image | ) |
Callback which is invoked when fingerprint image data is returned.
image | Captured fingerprint image data, plus associated metadata |
Implemented in FingerprintListener.
void templateEvent | ( | @NonNull FingerprintTemplate | templ | ) |
Callback which is invoked when fingerprint template data is returned.
templ | Captured fingerprint template data, plus associated metadata |
Implemented in FingerprintListener.
void userMessageEvent | ( | @NonNull FingerprintUserMessage | message | ) |
Callback which is invoked when there is a user message to display.
message | Message which needs to be displayed |
Implemented in FingerprintListener.