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

Method appResume

android/src/main/cpp/GodotModule.cpp:492–502  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

490}
491
492void GodotModule::appResume() {
493 std::lock_guard lock(_mutex);
494 AndroidPlatformData *data = static_cast<AndroidPlatformData *>(_data);
495 data->thread.enqueue([this]() {
496 std::lock_guard lock(_mutex);
497 if (_instance) {
498 _instance->resume();
499 }
500 });
501 updateState();
502}
503
504void GodotModule::pause() {
505 std::lock_guard lock(_mutex);

Callers

nothing calls this directly

Calls 2

enqueueMethod · 0.80
resumeMethod · 0.65

Tested by

no test coverage detected