MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_cache_dir

Method get_cache_dir

platform/android/java_godot_io_wrapper.cpp:101–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101String GodotIOJavaWrapper::get_cache_dir() {
102 if (_get_cache_dir) {
103 JNIEnv *env = get_jni_env();
104 ERR_FAIL_NULL_V(env, String());
105 jstring s = (jstring)env->CallObjectMethod(godot_io_instance, _get_cache_dir);
106 return jstring_to_string(s, env);
107 } else {
108 return String();
109 }
110}
111
112String GodotIOJavaWrapper::get_temp_dir() {
113 if (_get_temp_dir) {

Callers 2

get_cache_pathMethod · 0.45
_set_internal_certsMethod · 0.45

Calls 3

get_jni_envFunction · 0.85
jstring_to_stringFunction · 0.85
StringClass · 0.50

Tested by

no test coverage detected