Skip to content

Commit 4db1fcb

Browse files
committed
add speech to text button needed permission on winui
1 parent ce25b69 commit 4db1fcb

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 the <DeviceCapability Name="microphone" /> inside the `Platforms/Windows/Package.appxmanifest` file | Set the <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)