NoMatchDetails class

Contains detailed information for NoMatch recognition results.

Properties

reason

The reason the recognition was canceled.

Methods

fromResult(IntentRecognitionResult | SpeechRecognitionResult | TranslationRecognitionResult)

Creates an instance of NoMatchDetails object for the NoMatch SpeechRecognitionResults.

Property Details

reason

The reason the recognition was canceled.

NoMatchReason reason

Property Value

Specifies the reason canceled.

Method Details

fromResult(IntentRecognitionResult | SpeechRecognitionResult | TranslationRecognitionResult)

Creates an instance of NoMatchDetails object for the NoMatch SpeechRecognitionResults.

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

Parameters

result

IntentRecognitionResult | SpeechRecognitionResult | TranslationRecognitionResult

The recognition result that was not recognized.

Returns

The no match details object being created.