Speech to Text inactive

Pham Cuong 66 Reputation points
2021-10-27T02:35:21.41+00:00

I tried with this code and it gives error: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))' . I don't know why this error 144007-er3.png

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Roy Li - MSFT 31,766 Reputation points Microsoft Vendor
    2021-10-27T05:33:04.223+00:00

    Hello,

    Welcome to Microsoft Q&A!

    Generally, Speech recognition needs to use the Microphone of the device. You have to set the Microphone device capability in the App package manifest. Please open the manifest file, go to Capabilities, enable the Microphone capability For more detail, see App capability declarations.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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.