summaryrefslogtreecommitdiff
path: root/platform/android/os_android.h
diff options
context:
space:
mode:
authorCagdas <cagdascaglak@gmail.com>2019-10-06 21:17:44 +0300
committerCagdas <cagdascaglak@gmail.com>2019-10-22 22:52:13 +0300
commit008838555620261b25a4df7a814cc789ec4a4ad3 (patch)
tree364c9224a2e301039300a4c7f6fa07af609c0f48 /platform/android/os_android.h
parent9f28803927330654cdb09f48467b481c85209ea8 (diff)
Add request permission automatically at android
Diffstat (limited to 'platform/android/os_android.h')
-rw-r--r--platform/android/os_android.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/android/os_android.h b/platform/android/os_android.h
index 9bad9b2e01..a290c0cedd 100644
--- a/platform/android/os_android.h
+++ b/platform/android/os_android.h
@@ -125,6 +125,8 @@ public:
virtual void alert(const String &p_alert, const String &p_title = "ALERT!");
virtual bool request_permission(const String &p_name);
+ virtual bool request_permissions();
+ virtual Vector<String> get_granted_permissions() const;
virtual Error open_dynamic_library(const String p_path, void *&p_library_handle, bool p_also_set_library_path = false);