MCPcopy Create free account
hub / github.com/borndotcom/react-native-godot / focus_in

Method focus_in

android/src/main/cpp/GodotModule.cpp:460–471  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

458}
459
460void GodotModule::focus_in() {
461 std::lock_guard lock(_mutex);
462 AndroidPlatformData *data = static_cast<AndroidPlatformData *>(_data);
463 data->in_background = false;
464 data->thread.enqueue([this]() {
465 std::lock_guard lock(_mutex);
466 if (_instance) {
467 _instance->focus_in();
468 }
469 });
470 updateState();
471}
472
473bool GodotModule::is_paused() {
474 std::lock_guard lock(_mutex);

Callers

nothing calls this directly

Calls 1

enqueueMethod · 0.80

Tested by

no test coverage detected