Biometrics Android
1.3
Search
K

ActivePassiveLivenessDetector

import com.sybrin.livenessdetection.ActivePassiveLivenessDetector

Summary

Public methods

addOnCancelListener

public ActivePassiveLivenessDetector<T> addOnCancelListener (ActivePassiveLivenessDetector.OnCancelListener onCancelListener)
Subscribes to a callback that will fire when the SDK's liveness detection process is canceled.
Parameters
​Title
onCancelListener
Returns
​Title
This value cannot be null.‌

addOnFailureListener

public ActivePassiveLivenessDetector<T> addOnFailureListener(ActivePassiveLivenessDetector.onFailureListener onFailureListener)
Subscribes to a callback that will fire when the SDK's liveness detection process fails and throws an exception.
Parameters
​Title
onFailureListener
Returns
​Title
This value cannot be null.‌

addOnSuccessListener

public ActivePassiveLivenessDetector<T> addOnSuccessListener(ActivePassiveLivenessDetector.OnSuccessListener<T> onSuccessListener)
Subscribes to a callback that will fire when the SDK's liveness detection process succeeds.
Parameters
​Title
onSuccessListener
Returns
​Title
This value cannot be null.