PassiveLivenessDetector
Last updated
Last updated
import com.sybrin.livenessdetection.PassiveLivenessDetector
public
PassiveLivenessDetector
<T> addOnCancelListener (
PassiveLivenessDetector.OnCancelListener
onCancelListener)
Subscribes to a callback that will fire when the SDK's liveness detection process is canceled.
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.
public
PassiveLivenessDetector
<T> addOnSuccessListener(
PassiveLivenessDetector.OnSuccessListener
<T> onSuccessListener)
Subscribes to a callback that will fire when the SDK's liveness detection process succeeds.
Nested classes
interface
interface
interface
Public methods
addOnCancelListener(PassiveLivenessDetector.OnCancelListener onCancelListener)
addOnFailureListener(PassiveLivenessDetector.OnFailureListener onFailureListener)
addOnSuccessListener(PassiveLivenessDetector.OnSuccessListener<T> onSuccessListener)
Parameters
onCancelListener
Returns
This value cannot be null
.
Parameters
onFailureListener
Returns
This value cannot be null
.
Parameters
onSuccessListener
Returns
This value cannot be null
.