AutoDetectSourceLanguageResult class

Output format

Properties

language
languageDetectionConfidence

Methods

fromResult(SpeechRecognitionResult)

Creates an instance of AutoDetectSourceLanguageResult object from a SpeechRecognitionResult instance.

Property Details

language

string language

Property Value

string

languageDetectionConfidence

string languageDetectionConfidence

Property Value

string

Method Details

fromResult(SpeechRecognitionResult)

Creates an instance of AutoDetectSourceLanguageResult object from a SpeechRecognitionResult instance.

static function fromResult(result: SpeechRecognitionResult)

Parameters

result
SpeechRecognitionResult

The recognition result.

Returns

AutoDetectSourceLanguageResult object being created.