Biometrics Android
1.3
Search
K

PassiveLivenessDetector

import com.sybrin.livenessdetection.PassiveLivenessDetector

Summary

Public methods

addOnCancelListener

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

addOnFailureListener

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

addOnSuccessListener

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