Package com.vivoka.vsdk.biometrics
Class Recognizer
java.lang.Object
com.vivoka.vsdk.biometrics.Recognizer
- All Implemented Interfaces:
IConsumerModule
- Direct Known Subclasses:
Authenticator,Identificator
Abstract class representing a recognizer in the Voice Biometrics system.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRecognizer(String name, Model model, IRecognizerListener listener) -
Method Summary
Modifier and TypeMethodDescriptiongetModel()Get the current model associated with the recognizer.getName()Get the name of the recognizer.protected abstract voidprotected abstract voidrelease()voidsetListener(IRecognizerListener listener) Set the listener for recognizer events.voidSet the current model for the recognizer.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.vivoka.vsdk.audio.IConsumerModule
process
-
Field Details
-
_name
-
_model
-
_listener
-
-
Constructor Details
-
Recognizer
- Throws:
Exception
-
-
Method Details
-
release
- Throws:
Exception
-
getName
Get the name of the recognizer.- Returns:
- The name of the recognizer.
-
getModel
Get the current model associated with the recognizer.- Returns:
- The current model.
-
setModel
Set the current model for the recognizer.- Parameters:
model- The model to set.- Throws:
Exception- If there is an error setting the model.
-
setListener
Set the listener for recognizer events.- Parameters:
listener- The listener to set.
-
onNewModelSet
- Throws:
Exception
-