mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Add new events and accompanying logic to notify when the app is paused and resumed on Android devices.
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user