Поделиться через


NoMatchDetails class

Содержит подробные сведения о результатах распознавания NoMatch.

Свойства

reason

Причина отмены распознавания.

Методы

fromResult(SpeechRecognitionResult | TranslationRecognitionResult)

Создает экземпляр объекта NoMatchDetails для NoMatch SpeechRecognitionResults.

Сведения о свойстве

reason

Причина отмены распознавания.

NoMatchReason reason

Значение свойства

Указывает причину отмены.

Сведения о методе

fromResult(SpeechRecognitionResult | TranslationRecognitionResult)

Создает экземпляр объекта NoMatchDetails для NoMatch SpeechRecognitionResults.

static function fromResult(result: SpeechRecognitionResult | TranslationRecognitionResult): NoMatchDetails

Параметры

result

SpeechRecognitionResult | TranslationRecognitionResult

Результат распознавания, который не распознался.

Возвращаемое значение

Объект сведений о совпадении не создается.