共用方式為


AutoDetectSourceLanguageResult Class

Represents auto detection source language result.

The result can be initialized from a speech recognition result.

Inheritance
builtins.object
AutoDetectSourceLanguageResult

Constructor

AutoDetectSourceLanguageResult(speechRecognitionResult: SpeechRecognitionResult)

Parameters

Name Description
speechRecognitionResult
Required

The speech recognition result

Attributes

language

The language value If this is None, it means the system fails to detect the source language automatically