PromptOptions.RecognizeLanguage Property

Definition

Gets or sets the locale used for recognizing the user's choice.

public string RecognizeLanguage { get; set; }
member this.RecognizeLanguage : string with get, set
Public Property RecognizeLanguage As String

Property Value

The locale to be use for recognizing the utterance.

Remarks

When using a translator middleware, the user's choice is translated and it doesn't match the prompt's options. Setting this property with the translator's target language allows the prompt to recognize the utterance.

Applies to