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

Method get_activity

platform/android/java_godot_wrapper.cpp:105–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105jobject GodotJavaWrapper::get_activity() {
106 if (_get_activity) {
107 JNIEnv *env = get_jni_env();
108 ERR_FAIL_NULL_V(env, nullptr);
109 jobject activity = env->CallObjectMethod(godot_instance, _get_activity);
110 return activity;
111 }
112 return nullptr;
113}
114
115GodotJavaViewWrapper *GodotJavaWrapper::get_godot_view() {
116 if (godot_view != nullptr) {

Callers 3

swap_chain_resizeMethod · 0.80

Calls 1

get_jni_envFunction · 0.85

Tested by

no test coverage detected