FMX.Platform.TApplicationEventHandler
C++
typedef bool __fastcall (__closure *TApplicationEventHandler)(TApplicationEvent AAppEvent, System::TObject* AContext);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| typedef | public | FMX.Platform.hpp | FMX.Platform | FMX.Platform |
Description
Type of event handler for application events.
This event provides the following arguments:
AAppEventindicates the type of the event, such as TApplicationEvent.FinishedLaunching.AContextis an object that provides additional context. Often the type of event is enough information andAContextis null.booleanreturn value is the result of whether the event was handled. Meaning that FMX application received an external request and the developer can process it.
- Note: The boolean return value is only used for OpenURL event type and it is only available on iOS (at this moment).