Biometrics Android
1.3
Search
K

ActiveLivenessDetector

import com.sybrin.livenessdetection.ActiveLivenessDetector

Summary

Public methods

addOnCancelListener

public ActiveLivenessDetector<T> addOnCancelListener (ActiveLivenessDetector.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 ActiveLivenessDetector<T> addOnFailureListener(ActiveLivenessDetector.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 ActiveLivenessDetector<T> addOnSuccessListener(ActiveLivenessDetector.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.