TApplicationEventHandler = function (AAppEvent: TApplicationEvent; AContext: TObject): Boolean of object;
typedef bool __fastcall (__closure *TApplicationEventHandler)(TApplicationEvent AAppEvent, System::TObject* AContext);
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 and
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).