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