summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-10 22:11:02 +0200
committerGitHub <noreply@github.com>2021-06-10 22:11:02 +0200
commitbc1fcb9c659c573a38347088ccda3640fe2ae4c8 (patch)
tree1869753c3060a3773d766a90dc8da9ab06d9de0a /doc
parentdfc88bca6d5523d0d740384ef19f256148f2c448 (diff)
parentb3a962945e82097fd472c6e1724785b11eaaa32f (diff)
Merge pull request #49435 from madmiraal/add-android-external-dir
Add OS.get_external_data_dir() to get Android external directory
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/OS.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index b8b437f78f..c755c73465 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -221,6 +221,13 @@
Returns the path to the current engine executable.
</description>
</method>
+ <method name="get_external_data_dir" qualifiers="const">
+ <return type="String">
+ </return>
+ <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">
</return>