diff options
author | fhuya <fhuya@google.com> | 2019-09-09 14:42:17 -0700 |
---|---|---|
committer | fhuya <fhuya@google.com> | 2019-09-19 13:29:49 -0700 |
commit | a7712cc9e4f0451794ad7eb2685786c0f2e954e7 (patch) | |
tree | 3de6822cca8dd8696aa02f3a9b2549a9b972f4f8 /doc/classes | |
parent | 2add51d0823fe2ef7cb439a6f3fae17e8dd4717f (diff) |
Add new events and accompanying logic to notify when the app is paused and resumed on Android devices.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/MainLoop.xml | 8 | ||||
-rw-r--r-- | doc/classes/Node.xml | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/doc/classes/MainLoop.xml b/doc/classes/MainLoop.xml index 181a99590a..23ce20a434 100644 --- a/doc/classes/MainLoop.xml +++ b/doc/classes/MainLoop.xml @@ -215,5 +215,13 @@ Notification received from the OS when an update of the Input Method Engine occurs (e.g. change of IME cursor position or composition string). Specific to the macOS platform. </constant> + <constant name="NOTIFICATION_APP_RESUMED" value="1014"> + Notification received from the OS when the app is resumed. + Specific to the Android platform. + </constant> + <constant name="NOTIFICATION_APP_PAUSED" value="1015"> + Notification received from the OS when the app is paused. + Specific to the Android platform. + </constant> </constants> </class> diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 097fa1f6e5..a392ad8e89 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -962,6 +962,14 @@ Notification received from the OS when an update of the Input Method Engine occurs (e.g. change of IME cursor position or composition string). Specific to the macOS platform. </constant> + <constant name="NOTIFICATION_APP_RESUMED" value="1014"> + Notification received from the OS when the app is resumed. + Specific to the Android platform. + </constant> + <constant name="NOTIFICATION_APP_PAUSED" value="1015"> + Notification received from the OS when the app is paused. + Specific to the Android platform. + </constant> <constant name="PAUSE_MODE_INHERIT" value="0" enum="PauseMode"> Inherits pause mode from the node's parent. For the root node, it is equivalent to [constant PAUSE_MODE_STOP]. Default. </constant> |