Skip to content

Commit c903011

Browse files
Merge pull request #1283 from telerik/didi/sttb-permissions
add speech to text button needed permission on winui
2 parents ce25b69 + 2d1fc54 commit c903011

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controls/speechtotextbutton/winui-support.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ To use the SpeechToTextButton on WinUI, you can use one of the following approac
2626
| ------------- | --------------- |
2727
| Create a [custom recognizer]({%slug speechtotextbutton-custom-recognizer%}) | Create a [custom recognizer]({%slug speechtotextbutton-custom-recognizer%}) |
2828
| | Use the `RadSpeechRecognizer` |
29+
| Set `<DeviceCapability Name="microphone" />` inside the `Platforms/Windows/Package.appxmanifest` file | Set `<DeviceCapability Name="microphone" />` inside the `Platforms/Windows/Package.appxmanifest` file |
2930

3031
If you want to use the `RadSpeechRecognizer` on WinUI, set the `SpeechRecognizerCreator` property of the `RadSpeechToTextButton` to `RadSpeechRecognizer`:
3132

0 commit comments

Comments
 (0)