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