MCPcopy Create free account
hub / github.com/axmolengine/axmol / applicationDidEnterBackground

Method applicationDidEnterBackground

tests/lua-tests/Source/AppDelegate.cpp:78–81  ·  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

76
77// This function will be called when the app is inactive. Note, when receiving a phone call it is invoked.
78void AppDelegate::applicationDidEnterBackground()
79{
80 Director::getInstance()->stopAnimation();
81}
82
83// this function will be called when the app is active again
84void AppDelegate::applicationWillEnterForeground()

Callers

nothing calls this directly

Calls 2

getInstanceFunction · 0.85
stopAnimationMethod · 0.80

Tested by

no test coverage detected