RecognitionOption Class

Definition

This is part of the "recognize" action. If the customer wants to speech/dtmf choice based recognition - this needs to be specified. Ex: say "Sales" or enter 1 for Sales department

public class RecognitionOption
type RecognitionOption = class
Public Class RecognitionOption
Inheritance
RecognitionOption

Constructors

RecognitionOption()

Properties

DtmfVariation

Dtmf variations for the choice. Ex: Name : "Yes" , DtmfVariation : {'1'}

Name

Name of the choice. Once a choice matches, this name is conveyed back to the customer in the outcome.

SpeechVariation

Speech variations which form the grammar for the choice. Ex: Name : "Yes" , SpeechVariation : {"Yes", "yeah", "ya", "yo" }

Methods

Validate()
Validate(IEnumerable<RecognitionOption>)

Applies to