-api-id | -api-type |
---|---|
T:Windows.Media.SpeechRecognition.SpeechRecognizer |
winrt class |
Enables speech recognition with either a default or a custom graphical user interface (GUI).
CompileConstraintsAsync must always be called before RecognizeAsync or RecognizeWithUIAsync, even if no constraints are specified in the Constraints property.
Windows version | SDK version | Value added |
---|---|---|
1709 | 16299 | TrySetSystemSpeechLanguageAsync |
Windows.Media.SpeechRecognition, Speech interactions, Speech recognition and speech synthesis sample, Holographic voice input sample