See if it helps:
https://github.com/microsoft/Cognitive-Samples-IntelligentKiosk
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi,
I would like to know how to turn on the Online Speech Recognition on an Single-App Kiosk session ?
My goal here, is to be able to access the Touch KeyBoard Speech-to-Text feature through an UWP' application.
See if it helps:
https://github.com/microsoft/Cognitive-Samples-IntelligentKiosk
Hello,
Welcome to Microsoft Q&A!
Generally, we could press Window key + H to activate the speech recognition interface. You could try to simulate this keyboard shortcut in your code to activate the function by using InputInjector Class
Here is the sample that you could refer to:
InputInjector inputInjector = InputInjector.TryCreate();
await Task.Delay(100);
var info1 = new InjectedInputKeyboardInfo();
info1.VirtualKey = (ushort)VirtualKey.LeftWindows;
inputInjector.InjectKeyboardInput(new[] { info1 });
var info2 = new InjectedInputKeyboardInfo();
info2.VirtualKey = (ushort)VirtualKey.H;
inputInjector.InjectKeyboardInput(new[] { info2 });
info1.KeyOptions = InjectedInputKeyOptions.KeyUp;
inputInjector.InjectKeyboardInput(new[] { info1 });
Thank you.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.