Class AutoDetectSourceLanguageResult


  • public final class AutoDetectSourceLanguageResult
    extends Object
    Represents the result of auto detecting source languages Added in version 1.8.0
    • 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