mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Enhance mobile suspend MainLoop Notifications
This commit is contained in:
@@ -119,19 +119,20 @@
|
||||
</constant>
|
||||
<constant name="NOTIFICATION_APPLICATION_RESUMED" value="2014">
|
||||
Notification received from the OS when the application is resumed.
|
||||
Specific to the Android platform.
|
||||
Specific to the Android and iOS platforms.
|
||||
</constant>
|
||||
<constant name="NOTIFICATION_APPLICATION_PAUSED" value="2015">
|
||||
Notification received from the OS when the application is paused.
|
||||
Specific to the Android platform.
|
||||
Specific to the Android and iOS platforms.
|
||||
[b]Note:[/b] On iOS, you only have approximately 5 seconds to finish a task started by this signal. If you go over this allotment, iOS will kill the app instead of pausing it.
|
||||
</constant>
|
||||
<constant name="NOTIFICATION_APPLICATION_FOCUS_IN" value="2016">
|
||||
Notification received from the OS when the application is focused, i.e. when changing the focus from the OS desktop or a thirdparty application to any open window of the Godot instance.
|
||||
Implemented on desktop platforms.
|
||||
Implemented on desktop and mobile platforms.
|
||||
</constant>
|
||||
<constant name="NOTIFICATION_APPLICATION_FOCUS_OUT" value="2017">
|
||||
Notification received from the OS when the application is defocused, i.e. when changing the focus from any open window of the Godot instance to the OS desktop or a thirdparty application.
|
||||
Implemented on desktop platforms.
|
||||
Implemented on desktop and mobile platforms.
|
||||
</constant>
|
||||
<constant name="NOTIFICATION_TEXT_SERVER_CHANGED" value="2018">
|
||||
Notification received when text server is changed.
|
||||
|
||||
Reference in New Issue
Block a user