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


NoMatchDetails class

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

Свойства

reason

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

Методы

fromResult(IntentRecognitionResult | SpeechRecognitionResult | TranslationRecognitionResult)

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

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

reason

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

NoMatchReason reason

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

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

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

fromResult(IntentRecognitionResult | SpeechRecognitionResult | TranslationRecognitionResult)

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

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

Параметры

result

IntentRecognitionResult | SpeechRecognitionResult | TranslationRecognitionResult

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

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

Создаваемый объект сведений о совпадениях.