FacialTrainer
import com.sybrin.facialrecognition.FacialTrainer
Summary
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) |
Public methods
addOnCancelListener
public
FacialTrainer
<T> addOnCancelListener (
FacialTrainer.OnCancelListener
onCancelListener)
Subscribes to a callback that will fire when the SDK's facial training process is canceled.
Parameters | |
onCancelListener |
Returns | |
FacialTrainer<T extends FacialTrainingModel> | This value cannot be |
addOnFailureListener
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.
Parameters | |
onFailureListener |
Returns | |
FacialTrainer<T extends FacialTrainingModel> | This value cannot be |
addOnSuccessListener
public
FacialTrainer
<T> addOnSuccessListener(
FacialTrainer.OnSuccessListener
<T> onSuccessListener)
Subscribes to a callback that will fire when the SDK's facial training process succeeds.
Parameters | |
onSuccessListener |
Returns | |
FacialTrainer<T extends FacialTrainingModel> | This value cannot be |
Last updated