locked
Setting of microphone user permisson

    Question

  • Hello,
    I want to change the visual state of my application (Windows 8.1) depending on what choice the user made on the permission access of the microphone. It appears the only way I found is by trying to access to the microphone and wait for an access denied error. But that is way too late to have a meaningful visual cue shown to the user. Is there an API (Windows 8.1) providing access to that permission value and optimally an event for any change?

    Thanks,
    Pedro

    Friday, October 24, 2014 2:54 AM

Answers

  • Hello,

    Calling the InitializeAsync method is the only proper way to understand whether the user has provided a consent to access the MicroPhone or not. There are no other API's to know what the state of the user's decision is.

    Thanks,

    Prashant


    Windows Store Developer Solutions, follow us on Twitter: @WSDevSol|| Want more solutions? See our blog

    Friday, October 24, 2014 9:29 PM
    Moderator