ActiveLivenessDetector
Last updated
Last updated
import com.sybrin.livenessdetection.ActiveLivenessDetector
public
ActiveLivenessDetector
<T> addOnCancelListener (
ActiveLivenessDetector.OnCancelListener
onCancelListener)
Subscribes to a callback that will fire when the SDK's liveness detection process is canceled.
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.
public
ActiveLivenessDetector
<T> addOnSuccessListener(
ActiveLivenessDetector.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(ActiveLivenessDetector.OnCancelListener onCancelListener)
addOnFailureListener(ActiveLivenessDetector.OnFailureListener onFailureListener)
addOnSuccessListener(ActiveLivenessDetector.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
.