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

Method main_loop_focusin

platform/android/os_android.cpp:421–427  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

419}
420
421void OS_Android::main_loop_focusin() {
422 DisplayServerAndroid::get_singleton()->send_window_event(DisplayServer::WINDOW_EVENT_FOCUS_IN);
423 if (OS::get_singleton()->get_main_loop()) {
424 OS::get_singleton()->get_main_loop()->notification(MainLoop::NOTIFICATION_APPLICATION_FOCUS_IN);
425 }
426 audio_driver_android.set_pause(false);
427}
428
429Error OS_Android::shell_open(const String &p_uri) {
430 return godot_io_java->open_uri(p_uri);

Calls 4

send_window_eventMethod · 0.80
get_main_loopMethod · 0.45
notificationMethod · 0.45
set_pauseMethod · 0.45

Tested by

no test coverage detected