public final class SpenTextRecognition extends SpenRecognitionBase
SpenRecognitionBase.ResultListener| Modifier and Type | Method and Description |
|---|---|
String |
getLanguage()
Get the current language.
|
List<String> |
getSupportedLanguage()
Get the list of supported languages.
|
void |
setLanguage(String language)
Set the specified language.
|
request, setResultListenerpublic List<String> getSupportedLanguage()
IllegalStateException - Thrown if the recognition engine is not loaded.public String getLanguage()
IllegalStateException - Thrown if the recognition engine is not loaded.UndeclaredThrowableException - Thrown if language is not set.setLanguage(String)public void setLanguage(String language)
language - The language that you want to set.IllegalStateException - Thrown if the recognition engine is not loaded.getLanguage()