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.
System.Notification.TNotificationCenter.OnReceiveLocalNotification inherits from System.Notification.TCustomNotificationCenter.OnReceiveLocalNotification. All content below this line refers to System.Notification.TCustomNotificationCenter.OnReceiveLocalNotification.
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.