Add support for PiP mode
This commit is contained in:
parent
220b0b2f74
commit
ef0163ba9f
27 changed files with 405 additions and 52 deletions
|
|
@ -90,6 +90,11 @@ private:
|
|||
jmethodID _build_env_execute = nullptr;
|
||||
jmethodID _build_env_cancel = nullptr;
|
||||
jmethodID _build_env_clean_project = nullptr;
|
||||
jmethodID _is_pip_mode_supported = nullptr;
|
||||
jmethodID _is_in_pip_mode = nullptr;
|
||||
jmethodID _enter_pip_mode = nullptr;
|
||||
jmethodID _set_pip_mode_aspect_ratio = nullptr;
|
||||
jmethodID _set_auto_enter_pip_mode_on_background = nullptr;
|
||||
|
||||
public:
|
||||
GodotJavaWrapper(JNIEnv *p_env, jobject p_godot_instance);
|
||||
|
|
@ -154,4 +159,10 @@ public:
|
|||
int build_env_execute(const String &p_build_tool, const List<String> &p_arguments, const String &p_project_path, const String &p_gradle_build_directory, const Callable &p_output_callback, const Callable &p_result_callback);
|
||||
void build_env_cancel(int p_job_id);
|
||||
void build_env_clean_project(const String &p_project_path, const String &p_gradle_build_directory, const Callable &p_callback);
|
||||
|
||||
bool is_pip_mode_supported();
|
||||
bool is_in_pip_mode();
|
||||
void enter_pip_mode();
|
||||
void set_pip_mode_aspect_ratio(int p_numerator, int p_denominator);
|
||||
void set_auto_enter_pip_mode_on_background(bool p_auto_enter_on_background);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue