Class AutoDetectSourceLanguageResult
- java.lang.Object
-
- com.microsoft.cognitiveservices.speech.AutoDetectSourceLanguageResult
-
public final class AutoDetectSourceLanguageResult extends Object
Represents the result of auto detecting source languages Added in version 1.8.0
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AutoDetectSourceLanguageResultfromResult(SpeechRecognitionResult speechRecognitionResult)Creates an instance of the AutoDetectSourceLanguageResult from a speech recognition resultStringgetLanguage()Get the language value
-
-
-
Method Detail
-
fromResult
public static AutoDetectSourceLanguageResult fromResult(SpeechRecognitionResult speechRecognitionResult)
Creates an instance of the AutoDetectSourceLanguageResult from a speech recognition result- Parameters:
speechRecognitionResult- Specifies the speech recognition result This functionality was added in version 1.8.0.- Returns:
- The AutoDetectSourceLanguageResult being created.
-
getLanguage
public String getLanguage()
Get the language value- Returns:
- The language that is the result of auto detection
-
-