diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-08-17 13:33:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-17 13:33:28 +0200 |
commit | be80d381d27daf14ded507aaf9f173cdc1483046 (patch) | |
tree | 015798dc827550fcc8b09947f44c6c3f8dae9d79 /doc/classes | |
parent | 45344c6a025b029ec864a6d9b7a1723fb43f4ab6 (diff) | |
parent | 3a00ff1cce403bd879cbb7e1e826b0681d79fe0f (diff) |
Merge pull request #50360 from m4gr3d/address_external_dir_access_master
Add support for Android scoped storage
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/OS.xml | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index e5d45189c7..757730f6c8 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -197,12 +197,6 @@ Returns the path to the current engine executable. </description> </method> - <method name="get_external_data_dir" qualifiers="const"> - <return type="String" /> - <description> - On Android, returns the absolute directory path where user data can be written to external storage if available. On all other platforms, this will return the same location as [method get_user_data_dir]. - </description> - </method> <method name="get_granted_permissions" qualifiers="const"> <return type="PackedStringArray" /> <description> @@ -270,9 +264,11 @@ <method name="get_system_dir" qualifiers="const"> <return type="String" /> <argument index="0" name="dir" type="int" enum="OS.SystemDir" /> + <argument index="1" name="shared_storage" type="bool" default="true" /> <description> Returns the actual path to commonly used folders across different platforms. Available locations are specified in [enum SystemDir]. [b]Note:[/b] This method is implemented on Android, Linux, macOS and Windows. + [b]Note:[/b] Shared storage is implemented on Android and allows to differentiate between app specific and shared directories. Shared directories have additional restrictions on Android. </description> </method> <method name="get_thread_caller_id" qualifiers="const"> |