System.Notification.TNotificationCenter.OnReceiveLocalNotification
Delphi
property OnReceiveLocalNotification: TOnReceiveLocalNotification read FOnReceiveLocalNotification write FOnReceiveLocalNotification;
C++
__property OnReceiveLocalNotification;
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
event | published | System.Notification.pas System.Notification.hpp |
System.Notification | TNotificationCenter |
Description
Se produit lorsque l'utilisateur clique sur une notification.
System.Notification.TNotificationCenter.OnReceiveLocalNotification hérite de System.Notification.TCustomNotificationCenter.OnReceiveLocalNotification. Tout le contenu en-dessous de cette ligne se réfère à System.Notification.TCustomNotificationCenter.OnReceiveLocalNotification.
Se produit lorsque l'utilisateur clique sur une notification.
Considérations spéciales
- iOS : si l'application qui déclenche une notification est exécutée en arrière-plan et que la zone de notification est ouverte, cet événement est déclenché immédiatement à l'affichage d'une notification dans la zone de notification. Si l'utilisateur clique sur la notification, l'événement est à nouveau déclenché.