Speech is not being recognized with default dictation grammar in my UWP application.
问题 Speech is not being recognized with default dictation grammar in my UWP application. However, it is perfectly recognized when I use programmatic list constraint. Below is the speech recognition part of my code for reference. If I do not comment the 5th line, this works fine. Am I doing something wrong below: speechRecognizer = new SpeechRecognizer(); bool PermissionGained = await CheckMicrophonePermission(); if (PermissionGained) { //speechRecognizer.Constraints.Add(new