FMX.Platform.TApplicationEvent
Delphi
TApplicationEvent = (FinishedLaunching, BecameActive, WillBecomeInactive, EnteredBackground, WillBecomeForeground, WillTerminate, LowMemory, TimeChange, OpenURL);
C++
enum class DECLSPEC_DENUM TApplicationEvent : unsigned char { FinishedLaunching, BecameActive, WillBecomeInactive, EnteredBackground, WillBecomeForeground, WillTerminate, LowMemory, TimeChange, OpenURL, aeFinishedLaunching _DEPRECATED_ATTRIBUTE3("Use TApplicationEvent.FinishedLaunching")  = 0, aeBecameActive _DEPRECATED_ATTRIBUTE3("Use TApplicationEvent.BecameActive")  = 1, aeWillBecomeInactive _DEPRECATED_ATTRIBUTE3("Use TApplicationEvent.WillBecomeInactive")  = 2, aeEnteredBackground _DEPRECATED_ATTRIBUTE3("Use TApplicationEvent.EnteredBackground")  = 3, aeWillBecomeForeground _DEPRECATED_ATTRIBUTE3("Use TApplicationEvent.WillBecomeForeground")  = 4, aeWillTerminate _DEPRECATED_ATTRIBUTE3("Use TApplicationEvent.WillTerminate")  = 5, aeLowMemory _DEPRECATED_ATTRIBUTE3("Use TApplicationEvent.LowMemory")  = 6,
    aeTimeChange _DEPRECATED_ATTRIBUTE3("Use TApplicationEvent.TimeChange")  = 7, aeOpenURL _DEPRECATED_ATTRIBUTE3("Use TApplicationEvent.OpenURL")  = 8 };
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| enum | public | FMX.Platform.pas FMX.Platform.hpp | FMX.Platform | FMX.Platform | 
Description
Type of an application event.
An instance of TApplicationEvent may have any of the following values:
| Item | Description | Platform | |
|---|---|---|---|
| Android | iOS | ||
| 
 | Your application has gained the focus. | Supported | Supported | 
| 
 | The user is no longer using your application, but your application is still running in the background. | Supported | Supported | 
| 
 | Your application has been launched. | Supported | Supported | 
| 
 | This warns your application that the device is running out of memory. Your application should reduce memory usage, freeing structures and data that can be loaded again at a later point. | Supported | Supported | 
| 
 | You application has received a request to open an URL. Application events of this type are usually associated with a context. This context is an instance of the iOS-only  
 See the iOS API reference documentation for more information. | Supported | |
| 
 | There has been a significant change in time. This event might happen for example when the day changes or when the device changes to or from daylight savings time. | Supported | |
| 
 | The user is now using your application, which was previously in the background. | Supported | Supported | 
| 
 | Your application is going to loose the focus. | Supported | Supported | 
| 
 | The user is quitting your application. | Supported | Supported |