[ColorPicker, macOS] Add link to request required screen recording permission.

This commit is contained in:
Pāvels Nadtočajevs 2025-04-18 00:05:49 +03:00
parent 931820d33c
commit e6d3cf63fb
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
5 changed files with 60 additions and 3 deletions

View file

@ -294,7 +294,7 @@
<return type="PackedStringArray" />
<description>
On Android devices: Returns the list of dangerous permissions that have been granted.
On macOS: Returns the list of user selected folders accessible to the application (sandboxed applications only). Use the native file dialog to request folder access permission.
On macOS: Returns the list of granted permissions and user selected folders accessible to the application (sandboxed applications only). Use the native file dialog to request folder access permission.
</description>
</method>
<method name="get_keycode_string" qualifiers="const">
@ -755,8 +755,9 @@
The [param name] must be the full permission name. For example:
- [code]OS.request_permission("android.permission.READ_EXTERNAL_STORAGE")[/code]
- [code]OS.request_permission("android.permission.POST_NOTIFICATIONS")[/code]
[b]Note:[/b] Permission must be checked during export.
[b]Note:[/b] This method is only implemented on Android.
- [code]OS.request_permission("macos.permission.RECORD_SCREEN")[/code]
[b]Note:[/b] On Android, permission must be checked during export.
[b]Note:[/b] This method is implemented on Android and macOS.
</description>
</method>
<method name="request_permissions">