Add new events and accompanying logic to notify when the app is paused and resumed on Android devices.
This commit is contained in:
parent
2add51d082
commit
a7712cc9e4
12 changed files with 123 additions and 29 deletions
|
|
@ -2861,6 +2861,8 @@ void Node::_bind_methods() {
|
|||
BIND_CONSTANT(NOTIFICATION_WM_ABOUT);
|
||||
BIND_CONSTANT(NOTIFICATION_CRASH);
|
||||
BIND_CONSTANT(NOTIFICATION_OS_IME_UPDATE);
|
||||
BIND_CONSTANT(NOTIFICATION_APP_RESUMED);
|
||||
BIND_CONSTANT(NOTIFICATION_APP_PAUSED);
|
||||
|
||||
BIND_ENUM_CONSTANT(PAUSE_MODE_INHERIT);
|
||||
BIND_ENUM_CONSTANT(PAUSE_MODE_STOP);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue