Interface FingerprintUserVerificationHandler
- All Superinterfaces:
CancelableHandler
The object handling the outcome of an interaction where the user provides fingerprint credentials.
This is used with the
Authenticator.FINGERPRINT_AUTHENTICATOR_AAID
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
The user verification was canceled.When this method is invoked, the SDK will wait for the user to provide credentials.
-
Method Details
-
listenForOsCredentials
OsAuthenticationListenHandler listenForOsCredentials()When this method is invoked, the SDK will wait for the user to provide credentials. If the credentials are provided, it will be checked that they are valid.Before invoking this method, some user interface should be presented to the end user asking to provide OS credentials (in the case of fingerprint, the user should be asked to place finger in the sensor to authenticate).
- Returns:
- an
OsAuthenticationListenHandler
that can be used to cancel listening for OS credentials - Throws:
IllegalStateException
- if eithercancel()
or this method were previously invoked
-
cancel
void cancel()The user verification was canceled.- Specified by:
cancel
in interfaceCancelableHandler
- Throws:
IllegalStateException
- if either this method orlistenForOsCredentials()
were previously invoked
-