Package com.vivoka.vsdk.biometrics
Class Authenticator
java.lang.Object
com.vivoka.vsdk.biometrics.Recognizer
com.vivoka.vsdk.biometrics.Authenticator
- All Implemented Interfaces:
IConsumerModule
Base class for biometric authenticators.
-
Field Summary
FieldsFields inherited from class com.vivoka.vsdk.biometrics.Recognizer
_listener, _model, _name -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAuthenticator(String name, Model model, IRecognizerListener listener) -
Method Summary
Modifier and TypeMethodDescriptionGets the current user to recognize.voidsetUserToRecognize(String name) Sets the current user to recognize.Methods inherited from class com.vivoka.vsdk.biometrics.Recognizer
getModel, getName, onNewModelSet, release, setListener, setModelMethods 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
-
_userToRecognize
-
-
Constructor Details
-
Authenticator
- Throws:
Exception
-
-
Method Details
-
setUserToRecognize
Sets the current user to recognize.- Parameters:
name- The user name to recognize.- Throws:
Exception- If name is null or an empty string.
-
getUserToRecognize
Gets the current user to recognize.- Returns:
- The user to recognize.
-