System.Notification.TCustomNotificationCenter.DoCancelNotification
Delphi
procedure DoCancelNotification(const AName: string); overload; virtual;
procedure DoCancelNotification(const ANotification: TNotification); overload; virtual;
C++
virtual void __fastcall DoCancelNotification(const System::UnicodeString AName)/* overload */;
virtual void __fastcall DoCancelNotification(TNotification* const ANotification)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | System.Notification.pas System.Notification.hpp |
System.Notification | TCustomNotificationCenter |
Description
Cancels the delivery of a scheduled local notification.
You need to specify one of the following parameters:
AName
: The unique name of a notification.ANotification
: A reference to the notification instance that you want to cancel.