Share via


NoMatchDetails class

Innehåller detaljerad information för NoMatch-igenkänningsresultat.

Egenskaper

reason

Anledningen till att igenkänningen avbröts.

Metoder

fromResult(IntentRecognitionResult | SpeechRecognitionResult | TranslationRecognitionResult)

Skapar en instans av NoMatchDetails-objektet för NoMatch SpeechRecognitionResults.

Egenskapsinformation

reason

Anledningen till att igenkänningen avbröts.

NoMatchReason reason

Egenskapsvärde

Anger orsaken som avbröts.

Metodinformation

fromResult(IntentRecognitionResult | SpeechRecognitionResult | TranslationRecognitionResult)

Skapar en instans av NoMatchDetails-objektet för NoMatch SpeechRecognitionResults.

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

Parametrar

result

IntentRecognitionResult | SpeechRecognitionResult | TranslationRecognitionResult

Igenkänningsresultatet som inte kändes igen.

Returer

Objektet ingen matchningsinformation skapas.