System.Notification.TNotificationCenter.OnReceiveLocalNotification
Delphi
property OnReceiveLocalNotification: TOnReceiveLocalNotification read FOnReceiveLocalNotification write FOnReceiveLocalNotification;
C++
__property OnReceiveLocalNotification;
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| event | published | System.Notification.pas System.Notification.hpp |
System.Notification | TNotificationCenter |
Description
Occurs when the user clicks on a notification. {{#multireplace:System.Notification.TNotificationCenter.OnReceiveLocalNotification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:System.Notification.TCustomNotificationCenter.OnReceiveLocalNotification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:System.Notification.TCustomNotificationCenter.OnReceiveLocalNotification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Occurs when the user clicks on a notification.
Special Considerations
- iOS: If the application that fires a notification is run in the background and the drawer is currently open, this event is fired immediately when a notification appears in the drawer. If the user clicks on the notification, this event is fired again.