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
@@ -32,7 +54,7 @@ If you're using macOS 12.3 or newer, you'll need to ensure you have Python insta
32
54
33
55
## API
34
56
35
-
## `permissions.getAuthStatus(type)`
57
+
###`permissions.getAuthStatus(type)`
36
58
37
59
*`type` String - The type of system component to which you are requesting access. Can be one of `accessibility`, `bluetooth`, `calendar`, `camera`, `contacts`, `full-disk-access`, `input-monitoring`, `location`, `microphone`,`photos`, `reminders`, `screen`, or `speech-recognition`.
38
60
@@ -81,7 +103,7 @@ for (const type of types) {
81
103
}
82
104
```
83
105
84
-
## `permissions.askForContactsAccess()`
106
+
###`permissions.askForContactsAccess()`
85
107
86
108
Returns `Promise<String>` - Whether or not the request succeeded or failed; can be `authorized` or `denied`.
<string>Your reason for wanting to access the Downloads folder</string>
188
210
```
189
211
190
-
## `permissions.askForFullDiskAccess()`
212
+
###`permissions.askForFullDiskAccess()`
191
213
192
214
There is no API for programmatically requesting Full Disk Access on macOS at this time, and so calling this method will trigger opening of System Preferences at the Full Disk pane of Security and Privacy.
There is no API for programmatically requesting Screen Capture on macOS at this time, and so calling this method will trigger opening of System Preferences at the Screen Capture pane of Security and Privacy.
There is no API for programmatically requesting Accessibility access on macOS at this time, and so calling this method will trigger opening of System Preferences at the Accessibility pane of Security and Privacy.
0 commit comments