public interface FaceAuthVerifier
FaceAuthFactory
methods.Modifier and Type | Method and Description |
---|---|
void |
addFaceAuthVerifierListener(FaceAuthVerifierListener faceAuthVerifierListener)
Add face auth verifier Listener
|
void |
authenticateUser(int timeout,
Authenticatable authenticatable,
FaceAuthVerifierCallback callback)
Authenticate user by face ID the application could customize the action upon error cases.
|
boolean |
cancelVerifyProcess()
Cancel face verification process
|
void |
removeFaceAuthVerifierListener(FaceAuthVerifierListener faceAuthVerifierListener)
Remove face auth verifier Listener.
|
void authenticateUser(int timeout, Authenticatable authenticatable, FaceAuthVerifierCallback callback)
FaceAuthInput
object upon success, that can be used to generate OTPs.
Please take note that context must be set previously by calling
FaceAuthService.setContext(Context)
(For example, if there is a change in Activity).timeout
- the timeout for verification processauthenticatable
- object to authenticatecallback
- The callback to be triggered as soon as the operation completes with any result. It must never be
null
. Note that the callback is always called from within the main UI thread context and
always after this method returns to its caller.void addFaceAuthVerifierListener(FaceAuthVerifierListener faceAuthVerifierListener)
faceAuthVerifierListener
- Listener for face auth verifier event.void removeFaceAuthVerifierListener(FaceAuthVerifierListener faceAuthVerifierListener)
boolean cancelVerifyProcess()