MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / applicationWillEnterForeground

Method applicationWillEnterForeground

test/browser/cocos2d_hello.cpp:296–301  ·  view source on GitHub ↗

this function will be called when the app is active again

Source from the content-addressed store, hash-verified

294
295// this function will be called when the app is active again
296void AppDelegate::applicationWillEnterForeground() {
297 Director::getInstance()->startAnimation();
298
299 // if you use SimpleAudioEngine, it must resume here
300 // SimpleAudioEngine::sharedEngine()->resumeBackgroundMusic();
301}
302
303
304// ==========

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected