class AutoDetectSourceLanguageResult
Contains auto detected source language result Added in 1.8.0.
Members
Language
Syntax: public const std::string Language;
The language value If this is empty, it means the system fails to detect the source language automatically.
FromResult
Syntax: public inline static std::shared_ptr< AutoDetectSourceLanguageResult > FromResult ( std::shared_ptr< SpeechRecognitionResult > result );
Creates an instance of AutoDetectSourceLanguageResult object for the speech recognition result.
Parameters
result
The speech recognition result.
Returns
A shared pointer to AutoDetectSourceLanguageResult.
FromResult
Syntax: public inline static std::shared_ptr< AutoDetectSourceLanguageResult > FromResult ( std::shared_ptr< Translation::TranslationRecognitionResult > result );
Creates an instance of AutoDetectSourceLanguageResult object for the speech translation result.
Parameters
result
The speech translation result.
Returns
A shared pointer to AutoDetectSourceLanguageResult.
FromResult
Syntax: public inline static std::shared_ptr< AutoDetectSourceLanguageResult > FromResult ( std::shared_ptr< Transcription::ConversationTranscriptionResult > result );
Creates an instance of AutoDetectSourceLanguageResult object for the convesation transcription result.
Parameters
result
The conversation transcription result.
Returns
A shared pointer to AutoDetectSourceLanguageResult.