SpeechRecognizer Constructors

Definition

Overloads

SpeechRecognizer()

Creates a new instance of the SpeechRecognizer class.

SpeechRecognizer(Language)

Creates a new instance of the SpeechRecognizer class with a language specifier.

SpeechRecognizer()

Creates a new instance of the SpeechRecognizer class.

public:
 SpeechRecognizer();
 SpeechRecognizer();
public SpeechRecognizer();
function SpeechRecognizer()
Public Sub New ()

See also

Applies to

SpeechRecognizer(Language)

Creates a new instance of the SpeechRecognizer class with a language specifier.

public:
 SpeechRecognizer(Language ^ language);
 SpeechRecognizer(Language const& language);
public SpeechRecognizer(Language language);
function SpeechRecognizer(language)
Public Sub New (language As Language)

Parameters

language
Language

The spoken language to use for recognition.

Remarks

Asynchronously starts a speech recognition session that includes additional UI mechanisms, including prompts, examples, text-to-speech (TTS), and confirmations.

CurrentLanguage is set to the value of language.

Error codes

SPERR_WINRT_UNSUPPORTED_LANG (0x800455bc)

Thrown if the specified language is not supported.

See also

Applies to