You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Returns `Promise<String>` - Whether or not the request succeeded or failed; can be `authorized` or `denied`.
106
+
107
+
Checks the authorization status for Speech Recognition access. If the status check returns:
108
+
109
+
*`not determined` - The Speech Recognition access authorization will prompt the user to authorize or deny. The Promise is resolved after the user selection with either `authorized` or `denied`.
110
+
*`denied` - The `Security & Privacy` System Preferences window is opened with the Speech Recognition privacy key highlighted. On open of the `Security & Privacy` window, the Promise is resolved as `denied`.
111
+
112
+
Your app must provide an explanation for its use of Speech Recognition using the `NSSpeechRecognitionUsageDescription``Info.plist` key;
113
+
114
+
```
115
+
<key>NSSpeechRecognitionUsageDescription</key>
116
+
<string>Your reason for wanting to access Speech Recognition</string>
0 commit comments