Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.RecognitionOption Class Reference

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 More...

Public Member Functions

void Validate ()
 

Static Public Member Functions

static void Validate (IEnumerable< RecognitionOption > choices)
 

Properties

char DtmfVariation [get, set]
 Dtmf variations for the choice. Ex: Name : "Yes" , DtmfVariation : {'1'} More...
 
string Name [get, set]
 Name of the choice. Once a choice matches, this name is conveyed back to the customer in the outcome. More...
 
IEnumerable< string > SpeechVariation [get, set]
 Speech variations which form the grammar for the choice. Ex: Name : "Yes" , SpeechVariation : {"Yes", "yeah", "ya", "yo" } More...
 

Detailed Description

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

Definition at line 14 of file RecognitionOption.cs.

Member Function Documentation

void Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.RecognitionOption.Validate ( )
inline

Definition at line 36 of file RecognitionOption.cs.

static void Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.RecognitionOption.Validate ( IEnumerable< RecognitionOption choices)
inlinestatic

Definition at line 61 of file RecognitionOption.cs.

Property Documentation

char Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.RecognitionOption.DtmfVariation
getset

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

Definition at line 34 of file RecognitionOption.cs.

string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.RecognitionOption.Name
getset

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

Definition at line 20 of file RecognitionOption.cs.

IEnumerable<string> Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.RecognitionOption.SpeechVariation
getset

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

Definition at line 27 of file RecognitionOption.cs.


The documentation for this class was generated from the following file: