NoMatchDetails class

Contains detailed information for NoMatch recognition results.

Properties

reason

The reason the recognition was canceled.

Methods

fromResult(SpeechRecognitionResult | IntentRecognitionResult | TranslationRecognitionResult)

Creates an instance of NoMatchDetails object for the NoMatch SpeechRecognitionResults.

Property Details

reason

The reason the recognition was canceled.

public reason: NoMatchReason

Property Value

Method Details

fromResult(SpeechRecognitionResult | IntentRecognitionResult | TranslationRecognitionResult)

Creates an instance of NoMatchDetails object for the NoMatch SpeechRecognitionResults.

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

Parameters

Returns

The no match details object being created.