System.Notification.TCustomNotificationCenter.CreateNotification
Delphi
function CreateNotification: TNotification; overload;
function CreateNotification(const AName, AAlertBody: string; const AFireDate: TDateTime): TNotification; overload;
C++
TNotification* __fastcall CreateNotification(void)/* overload */;
TNotification* __fastcall CreateNotification(const System::UnicodeString AName, const System::UnicodeString AAlertBody, const System::TDateTime AFireDate)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Notification.pas System.Notification.hpp |
System.Notification | TCustomNotificationCenter |
Description
Creates and returns an instance of TNotification.
You can call this method without any parameters and the properties of the created notification have default values. Otherwise, you can pass the AName
, AAlertBody
and AFireDate
to specify the values for the name, message and fire date of the created notification.
See Also
- System.Notification.TNotification
- System.Notification.TNotification.Name
- System.Notification.TNotification.AlertBody
- System.Notification.TNotification.FireDate
- System.Notification.TCustomNotificationCenter.CancelAll
- System.Notification.TCustomNotificationCenter.CancelNotification
- System.Notification.TCustomNotificationCenter.Create
- System.Notification.TCustomNotificationCenter.PresentNotification
- System.Notification.TCustomNotificationCenter.ScheduleNotification