FacialComparator
Last updated
Last updated
import com.sybrin.facecomparison.FacialComparator
public
FacialComparator
<T> addOnFailureListener(
FacialComparator.onFailureListener
onFailureListener)
Subscribes to a callback that will fire when the SDK's facial comparison process fails and throws an exception.
public
FacialComparator
<T> addOnSuccessListener(
FacialComparator.OnSuccessListener
<T> onSuccessListener)
Subscribes to a callback that will fire when the SDK's facial comparison process succeeds.
Nested classes
interface
interface
Public methods
FacialComparator<T extends FacialComparisonModel>
addOnFailureListener(FacialComparator.OnFailureListener onFailureListener)
FacialComparator<T extends FacialComparisonModel>
addOnSuccessListener(FacialComparator.OnSuccessListener<T> onSuccessListener)
Parameters
onFailureListener
Returns
FacialComparator<T extends FacialComparisonModel>
This value cannot be null
.
Parameters
onSuccessListener
Returns
FacialComparator<T extends FacialComparisonModel>
This value cannot be null
.