summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2021-06-08 17:43:10 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2021-06-10 16:48:17 +0100
commitb3a962945e82097fd472c6e1724785b11eaaa32f (patch)
tree71473572d7946b4eebf3650364404a07395ce037 /doc/classes
parent9539e4e39e489e750c7ec99d84b93dce283fe721 (diff)
Add OS.get_external_data_dir() to get Android external directory
Diffstat (limited to 'doc/classes')
-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>