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

This class represents a single prompt More...

Public Member Functions

void Validate ()
 

Static Public Member Functions

static void Validate (IEnumerable< Prompt > prompts)
 

Properties

Culture Culture [get, set]
 The culture to use to tts out if "value" is text. Default : en-US More...
 
bool Emphasize [get, set]
 Whether to emphasize when tts'ing out - if "value" is text. Default : false More...
 
Uri FileUri [get, set]
 Uri of any media file to be played out More...
 
SayAs SayAs [get, set]
 Whether to customize pronunciation when tts'ing out - if "value" is text. Default : none More...
 
uint SilenceLengthInMilliseconds [get, set]
 Any silence to be played out before playing "value". If "value" is null - this field must be a valid > 0 value. More...
 
string Value [get, set]
 This can be : 1) Text - specifying the text to be tts'd 2) Empty if just silence to be played out More...
 
VoiceGender Voice [get, set]
 The voice to use to tts out if "value" is text. Default : Male More...
 

Detailed Description

This class represents a single prompt

Definition at line 13 of file Prompt.cs.

Member Function Documentation

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

Definition at line 59 of file Prompt.cs.

static void Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Prompt.Validate ( IEnumerable< Prompt prompts)
inlinestatic

Definition at line 80 of file Prompt.cs.

Property Documentation

Culture Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Prompt.Culture
getset

The culture to use to tts out if "value" is text. Default : en-US

Definition at line 38 of file Prompt.cs.

bool Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Prompt.Emphasize
getset

Whether to emphasize when tts'ing out - if "value" is text. Default : false

Definition at line 51 of file Prompt.cs.

Uri Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Prompt.FileUri
getset

Uri of any media file to be played out

Definition at line 26 of file Prompt.cs.

SayAs Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Prompt.SayAs
getset

Whether to customize pronunciation when tts'ing out - if "value" is text. Default : none

Definition at line 57 of file Prompt.cs.

uint Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Prompt.SilenceLengthInMilliseconds
getset

Any silence to be played out before playing "value". If "value" is null - this field must be a valid > 0 value.

Definition at line 45 of file Prompt.cs.

string Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Prompt.Value
getset

This can be : 1) Text - specifying the text to be tts'd 2) Empty if just silence to be played out

Definition at line 21 of file Prompt.cs.

VoiceGender Microsoft.Bot.Builder.Calling.ObjectModel.Contracts.Prompt.Voice
getset

The voice to use to tts out if "value" is text. Default : Male

Definition at line 32 of file Prompt.cs.


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