You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
[Android] Implement native file picker support
This commit is contained in:
@@ -59,6 +59,7 @@ private:
|
||||
jmethodID _set_clipboard = nullptr;
|
||||
jmethodID _has_clipboard = nullptr;
|
||||
jmethodID _show_input_dialog = nullptr;
|
||||
jmethodID _show_file_picker = nullptr;
|
||||
jmethodID _request_permission = nullptr;
|
||||
jmethodID _request_permissions = nullptr;
|
||||
jmethodID _get_granted_permissions = nullptr;
|
||||
@@ -105,6 +106,7 @@ public:
|
||||
bool has_has_clipboard();
|
||||
bool has_clipboard();
|
||||
Error show_input_dialog(const String &p_title, const String &p_message, const String &p_existing_text);
|
||||
Error show_file_picker(const String &p_current_directory, const String &p_filename, int p_mode, const Vector<String> &p_filters);
|
||||
bool request_permission(const String &p_name);
|
||||
bool request_permissions();
|
||||
Vector<String> get_granted_permissions() const;
|
||||
|
||||
Reference in New Issue
Block a user