MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / applicationDidEnterBackground

Method applicationDidEnterBackground

Source/AppDelegate.cpp:186–193  ·  view source on GitHub ↗

This function will be called when the app is inactive. Note, when receiving a phone call it is invoked.

Source from the content-addressed store, hash-verified

184
185// This function will be called when the app is inactive. Note, when receiving a phone call it is invoked.
186void AppDelegate::applicationDidEnterBackground()
187{
188 Director::getInstance()->stopAnimation();
189
190#if USE_AUDIO_ENGINE
191 AudioEngine::pauseAll();
192#endif
193}
194
195// this function will be called when the app is active again
196void AppDelegate::applicationWillEnterForeground()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected