API: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. {{#multireplace:System.Notification.TNotificationCenter.OnReceiveLocalNotification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} hérite de {{#multireplace:System.Notification.TCustomNotificationCenter.OnReceiveLocalNotification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. Tout le contenu en-dessous de cette ligne se réfère à {{#multireplace:System.Notification.TCustomNotificationCenter.OnReceiveLocalNotification|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
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é.