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`.
139
+
Returns `Promise<String>` - Whether or not the request succeeded or failed; can be `authorized`, `denied`, or `restricted`.
140
140
141
141
Checks the authorization status for Speech Recognition access. If the status check returns:
142
142
143
143
*`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`.
144
144
*`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`.
145
+
*`restricted` - The Promise is resolved as `restricted`.
145
146
146
147
Your app must provide an explanation for its use of Speech Recognition using the `NSSpeechRecognitionUsageDescription``Info.plist` key;
Returns `Promise<String>` - Whether or not the request succeeded or failed; can be `authorized`or `denied`.
307
+
Returns `Promise<String>` - Whether or not the request succeeded or failed; can be `authorized`, `denied`, or `restricted`.
307
308
308
309
*`not determined` - The Music Library access authorization will prompt the user to authorize or deny. The Promise is resolved after the user selection with either `authorized` or `denied`.
309
310
*`denied` - The `Security & Privacy` System Preferences window is opened with the Music Library privacy key highlighted. On open of the `Security & Privacy` window, the Promise is resolved as `denied`.
0 commit comments