Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
resultThe 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
resultThe 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
resultThe conversation transcription result.
Returns
A shared pointer to AutoDetectSourceLanguageResult.